1
00:00:00,390 --> 00:00:00,910
Beautiful.

2
00:00:01,260 --> 00:00:07,560
And once we have the bones in place next, let's take a look at our application so we can decide what

3
00:00:07,560 --> 00:00:09,860
route eventually we're going to have.

4
00:00:10,410 --> 00:00:13,400
And I can see that I'm getting all my tasks.

5
00:00:13,800 --> 00:00:19,550
So there will definitely be a get request that gets me all my items.

6
00:00:19,890 --> 00:00:28,320
Now, I can also create a new task so there will be a post request that can create a new task.

7
00:00:28,630 --> 00:00:32,130
Now, I can also delete one so there will be around for that.

8
00:00:32,460 --> 00:00:41,220
And if we click on edit, we open up a new page and and here we get info about specific round.

9
00:00:41,580 --> 00:00:50,400
So there will be a request that just gets me info about one single task and also will have the ability

10
00:00:50,400 --> 00:00:50,900
to edit.

11
00:00:51,210 --> 00:00:59,850
So if I change the completed from true to false, if I successfully edit that, that if I go back to

12
00:00:59,850 --> 00:01:06,270
the task, of course in here I don't see the checkmark, which means that I successfully added it to

13
00:01:06,270 --> 00:01:06,660
task.

14
00:01:06,990 --> 00:01:12,450
And what that means is that there's also a route for the update.

15
00:01:12,690 --> 00:01:19,800
And in summary, our routes are going to look something like this where there will be a request on API

16
00:01:19,800 --> 00:01:21,630
version one and nontax.

17
00:01:21,900 --> 00:01:23,790
So this will get all the tasks.

18
00:01:24,070 --> 00:01:28,200
Then there will be a post request on API version one.

19
00:01:28,200 --> 00:01:30,780
Tasks can only salmeterol.

20
00:01:30,780 --> 00:01:32,780
However, the method is different.

21
00:01:33,030 --> 00:01:36,960
So total different functionality in this case will create a new task.

22
00:01:37,350 --> 00:01:41,370
And then we have GETRUDE with primes.

23
00:01:41,730 --> 00:01:49,830
So we have the idea of the task that gets us that single task and of course one for update and one for

24
00:01:49,830 --> 00:01:50,280
delete.

25
00:01:50,580 --> 00:01:57,090
And since there's a lot to unpack over here, I'll spend the next video on the reasons behind such API

26
00:01:57,090 --> 00:01:57,660
structure.

