1
00:00:00,360 --> 00:00:05,610
Assuming that you sign up for the account, this is going to be your dashboard and you're looking for

2
00:00:05,610 --> 00:00:14,010
the import option and we want to import of that docks, and I'm going to be looking in the desktop and

3
00:00:14,010 --> 00:00:14,780
I want to import.

4
00:00:14,790 --> 00:00:15,320
Yes.

5
00:00:15,750 --> 00:00:18,060
Now, don't pay attention to those warnings.

6
00:00:18,240 --> 00:00:20,950
As long as you don't have any errors, we should be good to go.

7
00:00:21,270 --> 00:00:23,070
So I'm going to click on Proceed.

8
00:00:23,460 --> 00:00:30,600
And once you have the API instance in place before we can ship it to Swagga, I will need to edit all

9
00:00:30,600 --> 00:00:30,840
that.

10
00:00:31,170 --> 00:00:38,090
So this is the case where the proper you are all set up, the proper authorization and all that stuff.

11
00:00:38,400 --> 00:00:43,590
So we want to click here on edit API and let's just start with basic settings.

12
00:00:43,860 --> 00:00:47,160
And as you can see, we have tons and tons of options.

13
00:00:47,160 --> 00:00:54,330
But honestly, I'll just go with a bare bones setup since I don't want to waste too much of your time.

14
00:00:54,720 --> 00:01:00,090
And as far as the name, I think I'm going to go with Jobs API if you want to have the image.

15
00:01:00,370 --> 00:01:01,900
That's not what I'm looking for.

16
00:01:02,130 --> 00:01:05,730
So just say basic settings and this is very, very important.

17
00:01:06,000 --> 00:01:10,890
Make sure that you're safe for moving on to the next configuration options.

18
00:01:11,290 --> 00:01:14,370
Then we're looking for server configuration option.

19
00:01:14,790 --> 00:01:17,130
The environment will be production server name.

20
00:01:17,130 --> 00:01:18,990
I'll just leave it as server one.

21
00:01:19,320 --> 00:01:27,090
And when it comes to you, ah, this is where you want to pass the URL that points back to your Oracle

22
00:01:27,090 --> 00:01:27,580
project.

23
00:01:27,870 --> 00:01:30,180
So my guess what a check.

24
00:01:30,550 --> 00:01:32,100
I'm going to go back to school.

25
00:01:32,100 --> 00:01:37,540
Here are my jobs API Open app, so that's going to be my route.

26
00:01:37,800 --> 00:01:43,220
Now one downside with Heroku is that, yes, it takes time to spin up that Dynel.

27
00:01:43,440 --> 00:01:45,510
So that's one thing that you need to keep in mind.

28
00:01:45,930 --> 00:01:52,350
And I'll just take the URL and navigate back to the API, Mattick copy and paste.

29
00:01:52,620 --> 00:01:58,560
And then remember, as far as our routes, we still want to go with API and then version one and then

30
00:01:58,560 --> 00:02:01,020
we'll have Arth and Jobs again.

31
00:02:01,020 --> 00:02:05,370
Make sure, make sure, make sure and make sure that you save the config settings.

32
00:02:05,580 --> 00:02:08,520
It's very easy to make some changes and then just forget about it.

33
00:02:08,910 --> 00:02:13,470
And when it comes to authentication, yes, we'll use the biotoxin.

34
00:02:13,470 --> 00:02:16,830
So Arth 2.0, that stays the same.

35
00:02:17,190 --> 00:02:19,460
After that, we want to move on to the endpoint.

36
00:02:20,200 --> 00:02:26,610
And here in the endpoint, you'll notice that all of them effectively have the authentication.

37
00:02:26,880 --> 00:02:28,350
And that's not what we want.

38
00:02:28,740 --> 00:02:37,110
Because if you remember, as far as our API LDA runs the actual auth routes, well, we don't want to

39
00:02:37,110 --> 00:02:38,700
set up the authentication on them.

40
00:02:38,910 --> 00:02:39,360
Correct.

41
00:02:39,580 --> 00:02:46,530
These are going to be the public ones and only the jobs will be protected and will require that token.

42
00:02:46,860 --> 00:02:48,520
Hopefully we're on the same page.

43
00:02:48,540 --> 00:02:52,310
We're looking for a registered user and login user.

44
00:02:52,530 --> 00:02:55,560
So let me open up this end point here, then.

45
00:02:55,560 --> 00:02:58,560
We want to change the group and I'll change it to us.

46
00:02:59,100 --> 00:03:06,120
And I want to skip the authentication because by default, the authentication is going to be added to

47
00:03:06,120 --> 00:03:06,750
all of them.

48
00:03:06,870 --> 00:03:08,580
So let's save the endpoint.

49
00:03:09,000 --> 00:03:11,910
And now we should see the OTH folder.

50
00:03:12,270 --> 00:03:17,490
And in there there is going to be a registered user and we're skipping authentication.

51
00:03:17,620 --> 00:03:19,350
This is very, very important.

52
00:03:19,860 --> 00:03:23,520
And the second round that I want to add is the login one.

53
00:03:24,270 --> 00:03:27,300
So look for the login user and same deal.

54
00:03:27,600 --> 00:03:33,420
We want to skip the authentication and we want to place it in our folder.

55
00:03:33,750 --> 00:03:35,400
So let's save the endpoint.

56
00:03:35,760 --> 00:03:39,960
And then for the rest of them, we are not skipping the authentication.

57
00:03:40,170 --> 00:03:44,520
So don't click here for what we want to do is change the folder.

58
00:03:44,730 --> 00:03:50,100
So for all the routes, one by one add group and the name will be jobs.

59
00:03:50,310 --> 00:03:57,690
And once I say I have jobs folder with Create Job World and I'm not skipping the authentication.

60
00:03:57,930 --> 00:04:05,010
And essentially what you want to do, apply the same group to the rest of the routes, get all jobs

61
00:04:05,010 --> 00:04:06,600
all the way to the job.

62
00:04:07,080 --> 00:04:14,340
And since it's not very useful for you to watch how I do that, I'll post the video and I'll just add

63
00:04:14,340 --> 00:04:17,490
this jobs group to the rest of the routes.

64
00:04:17,490 --> 00:04:20,070
And once I'm done, I will resume the video.

65
00:04:20,399 --> 00:04:22,410
And once you're done, you should have two folders.

66
00:04:22,770 --> 00:04:25,640
The jobs folder with all the jobs are out.

67
00:04:25,920 --> 00:04:32,160
And again, we're not skipping the authentication and auth folder where we are skipping the authentication.

68
00:04:32,430 --> 00:04:37,020
And we have two following routes, registered user login user.

69
00:04:37,290 --> 00:04:40,920
And if that is the case, just navigate back to the dashboard.

70
00:04:41,550 --> 00:04:43,350
Then you are looking for this option.

71
00:04:43,710 --> 00:04:46,230
You're looking for export API.

72
00:04:46,500 --> 00:04:52,380
And this is very, very, very important that you go with open API, version three.

73
00:04:52,650 --> 00:04:57,480
As you can see, by default, we have versions here, JSON, you're looking for this one and you want

74
00:04:57,480 --> 00:04:59,790
to go with Yamal option click.

75
00:04:59,830 --> 00:05:06,520
Here and export documentation, and eventually this is what you should see on a screen, and if that

76
00:05:06,520 --> 00:05:08,800
is the case now, we can move on to our next step.

