This tutorial is based on Brad Traversery Task Tracker react app (https://github.com/bradtraversy/react-crash-2021) I dockernized it / separate db (for now using simple json-server for testing) / add api and reverse proxy and finally docker-compose to bring all together.
[ Client ] -> [ Reverse Proxy ] -> localhost:8080 -> [ webapp ]
-> /api -> [ api ] -> [ db ]
In the project directory, you can run:
- I want to replace json-db to other like mongo / postgres
- Once db replaced, we can update api to "actual" api (for now it's just a proxy to db)
- Add authentication ( using facebook or google )
- Add more tests
- Update dependencies automatically (and run test)
- Add more features on frontend