Start a stack using FastApi / React / MongoDB
The code is the result of following the steps in FARM STACK Course
The following assumes docker and docker-compose are installed in the system.
Start service with docker-compose
docker-compose upThe above will do the following:
- Download a mongodb image locally
- Build the backend image and start the service at http://localhost:50500/docs
- Build the frontend image and start the service at http://localhost:3000
TODO: Figure out how to deal with CORS calls in react so I don't have to hard code the localhost port.
TODO: Figure out how to configure webpack's websocket port.