All right, now, we are running front and application, and we are able to search for new images and
the new images are retrieved via API Azaria's from the Unsplash API and we actually started both services
in different apps or different windows in the terminal.
Here I am running eBay a service and here I am right in front and service.
And in order to be able to run both services, we performed following tasks.
First, we installed Node.js and npm in order to be able to run front and application.
Afterwards, we installed the all dependencies of the front and application dependencies are listed
here in the package, the Jason File and or Dependencies section.
And for that, we utilized command npm install and during installation npm created such folder as node
modules folder and now all packages are located here.
And after worldThe, we used npm start command, which actually ran React Scripts Start Command, which
at the front and application in development mode.
Afterwards, we created Python Environment for our API service.
For that, we created NOTbe in the Folder, a hero in the API folder.
Also, we created not invited local file with Aunt Bluesky, which is used in order to retrieve actual
images from the aunt's bless dot com.
And afterwards, after creation of the Python beautiful environment, we activated it in the shell and
also we started our eBay service using Python Command and all what you need to do in order to start.
Actually, backend API service is to run main UI file using Python interpreter.
And here are contents of this land by file.
Briefly, it retrieves Unsplash key from the environment variables here and afterwards, there was configuration
of the raoult new image, and this is that raot that is utilized by front and application in order to
make request for new images.
All right.
That's how you could run both applications API and front and locally without Docker, and disadvantages
of that is that you have to run two different processes.
Here I am, running them in two different apps.
And also, you have to install additional software in order to be able to run both applications.
And we installed Python and Node.js for that.
But imagine that specific project consists of multiple microservices, for example, 10 or 15 building
blocks.
And if you want to run such huge application locally, you will have to spend much more time and install
much more additional applications on your computer in order to be able to run all those microservices
simultaneously.
And this where a Docker could greatly help you if you want to run many different microservices simultaneously.
And next, we will start actually localization of both API and front end services.
We will create Docker files and after build custom Docker images based on those files and run those
applications using Docker.
And afterwards, we will move on and create blogger compose file in order to be able to run those applications
using just single command.
And next lectures, of course, are mandatory for you if you want to learn how to utilize Docker files
and Docker compose.
I'll see you guys in the next elections.