A basic todo app using Python, Flask, React, MongoDB and Docker. To run this on local machine, follow these steps after cloning the repository.
PS: Assuming that docker & docker-compose are already configured on your machine.
yarn install
yarn run build
docker-compose up --build
You will be able to access the app on http://localhost:4000
docker-compose up --build
yarn run serve
You will be able to access the app on http://localhost:8080
docker-compose up --build
> docker ps
> docker exec -it <container name> /bin/bash
eg:
> docker exec -it mongodb /bin/bash
Once you have access to bash shell, connect to the Mongo instance.Mongodb
> mongo
> show dbs
> use todoDev
> show collections
> db.users.find()
https://medium.com/@riken.mehta/full-stack-tutorial-flask-react-docker-420da3543c91 https://jwt.io/introduction/ https://blog.angular-university.io/angular-jwt/ https://www.tutorialspoint.com/mongodb/index.htm
- Python
- Flask
- Docker
- MongoDB