- Must-haves:
- Learn/Implement microservices & distributed development systems in DevOps.
- Create a CI system
- Should-haves: Restful APIs server & full CRUD operations client
Successfully make AJAX calls to Flask server.
React.js
(JavaScript)Material-UI
Axios
Successfully run on local & inside Docker container. Succesffuly add volumne (mounting). Successfully add/query data to local Postgres database
Flask
(Python)flask_cors
Successfully ran from local Postgres database & inside a Docker container.
- Local database config: server/db/config/postgreSQL.ini
- Models: Right now only takes first_name, last_name
- ORM:
flask_sqlalchemy
- Serializer/Deserializer:
marshmallow_sqlalchemy
- In
server.py
, uncomment line 12 and comment out line 13 - Create virtual environment and activate it
- Install requirements
- Run
python server.py
- In
server.py
, uncomment line 13 and comment out line 12 - Run
docker-compose up -d
at the root - Check logs:
docker-compose logs -f
- Kill containers:
docker-compose down -d
Make sure local Postgres is stopped.
- Host name: 0.0.0.0
- Port: 5432
- Database: flask
- Username: postgres
- Password: example
Run aws ecr get-login --no-include-email
, then copy and paste token in Terminal
Run ./upload-to-ecr.sh
- Front-End: Create PWA, Deploy Build folder to S3, Refactor to use Hooks & TS.
- Back-End: Create Restful APIs (Right now, it's missing PUT & DELETE)
- DevOps: CI/CD