Studying initial steps to better configurations and best practices of python and React
Transform this simple application into something usefull
- Use a real API, in my case, NYT API, the most popular one
- Create an interesting react UI
- Add docker into my application, initially for DB
- Transform it into a microservice archtecture
- Tests, tests, tests
- Scale it up ready
- cloud deployment
API url: https://developer.nytimes.com/docs/most-popular-product/1/overview
I have 2 different folders, one for the backend and one for the frontend.\
I have created two docker containers,one for each directory.\
Open your
Go to the backend directory, where docker-compose.yml is at.\
And then run the following command:
#!/bin/bash
docker-compose up
After that, you should see your docker service starting up.\
To stop service:
#!/bin/bash
docker-compose stop