In this lecture, I'll show you how to get Unsplash EBIT and how to insert it into the EPA microservice.
Please note that this step is mandatory for running this project.
Both eyes are locally or inside of the door.
This way, if you want to run this application on your computer, you must get Unsplash EPA IQ.
All right, instructions are allocated in the images, gallery or folder.
You could go to it directly at the GitHub dot com and you're in the region.
Dotcom defile.
You'll find how to get actually.
Unsplash, eBay and how to insert into the EPA microservice.
Also, you could open the same reading that the file located in the image as a gallery folder in the
Visual Studio code, but it's more convenient to read those instructions directly at the top.
So you have to create account at Unsplash dot com afterwords.
You'll create their application with digital, for example, images gallery and noticed that their applications
are limited to 50 requests per hour.
But that's totally fine for the sake of our application.
You will not generate more requests for images afterwards after creation of the new application.
You'll find the section gives Giegold access key and you need to copy it.
And afterwards you'll insert this eBay into the EPA microservice and it will get it as environment variable.
For that, you have to create Dot in the local file inside of the EPA folder and into this file you
have to install just a single line.
Unsplash Gear Equal Sign And here you have to paste corporate access from the unspools dot com heroes.
Example how this configuration should look like on Solecki and here's sample you notice that this key
is invalid, so don't attempt to use it in your application.
Generate yours under your aunt's blest account and afterwards, save modified dot in the local file.
But no question why I ask you to create such file and insert Unsplash.
Kidero answer is very simple.
This file is ignored by it, and therefore when you commit changes, it will not be committed and therefore
such sensitive information as access key will not be pushed, for example, to remote GitHub repository.
Because this is correct approach when you are handling different usernames, passwords, access keys
and so on.
They should be stored only locally on the server or computer where you run your application.
And we are acquiring such in order to run API service actually in development mode locally on your or
my computer.
And if you, for example, deploy same application software into production, you will also have to
create such an environment variable as Unsplash key.
And the such configuration depends on the actual service provider.
But almost always there was a section called environment variables where you could set these and potentially
other environment variables which are required by your applications.
All right, that's quick overview of how you could create an Solecki and insert it into the API service.
And now let's go step by step and perform this task together.
Let me open up Unsplash dot com and here I already have account if you don't have one.
Please go ahead and click here or join fueled information about yourself.
And afterwards, click Join.
I'll go directly to Logan and he'll let me enter my username and password.
Well, again.
And now please open up this URL.
I'll open it in the new tab.
And here I already have a few disabled applications in order to create new application, please click
new application here.
Check all check boxes, hero.
Please read carefully all those FBI terms of use.
Accept terms, and here, please enter application name.
I'll name it.
Same as before.
Images, gallery and description will be the same images gallery.
Let's create a new application.
Application was created, and here you see a tech demo.
It means that this application is limited to 50 requests per hour.
But if you want to increase the rate limits, you could apply for production.
And here, following this URL, you could read guidelines regarding DEP.
All right.
Let me scroll down and find access.
And here was mine.
Please copy it.
Ensured that you could be accessed.
Key, not secret gear.
So let me copy it.
And no, let's proceed with further instructions.
Now we have to create Dot Ian Vidot local a file inside of the EPA folder.
Let's go there.
Expand eBay, a folder and the heel, let's create dot envy dot local file, and here inside, let's
add an environment variable Unsplash and Grosicki and as well it will be set to just go you.
Let's say of changes in this not inhibited local file.
And please notice that such file is great old and it does not offer me to commit changes in this file.
And this is because there was ignore a file which ignores such files as not envy the local and other
environment related files.
All right, now we are all set and we went through all those instructions and now you're ready to go
and start A. Application that consists of API and front end services.
But as I explained you before, you have two options to run.
An application either ran in separately API and front end services or running all of them simultaneously
using Docker.
And I'll show you how to run them separately locally on your machine.
And in order to do so, you have to install Node.js and Python.
And in the next few lectures, I'll explain to you how to do that, but please notice that running of
this application locally without Docker is completely optional in this course.
This way, if you don't want to install Node.js and Python, you could simply skip next few lectures
and continue to follow me.
When I start localization of API and front end microservices.
But if you want to get your hands dirty and tried to launch this application without Docker, I am more
than welcome you to do that because in such a way, you'll deeply understand difference between the
running applications without Docker and with Docker.
All right.
In the next lecture, I'll show you how to get Node.js installed on your computer.