In Part 2, we'll split the project into three distinct projects. We'll also add code coverage and continuous integration testing to ensure that each service can be run and tested independently from the whole. Finally, we'll add ReactJS to the client-side.
- flask-microservices-main - Docker Compose files, Nginx, admin scripts
- flask-microservices-users - Flask app
- flask-microservices-client - client-side
By the end of this part, you should be able to...
- Manage services housed in multiple git repos from a single Docker Compose file
- Utilize a git repo as the "build context" for Docker Compose
- Run the unit and integration tests with code coverage
- Work with each service independently without Docker
- Configure Travis CI for continuous integration testing
- Explain what React is
- Work with React running inside a Docker Container
- Create a Single Page Application with React components
- Use React props and state appropriately
- Manage the state of a React component via component lifecycle methods
- Pass environment variables to a Docker image at build time
- Use React controlled components to handle form submissions
Check out the live app, running on EC2 - http://18.104.22.168/
You can also test out the following endpoints...
||get all users
||get single user
||add a user
/users POST endpoint is restricted as of Part 3.
Grab the code: