A websit built with Flask, jinja2, mongodb and docker.
- Use Scss for the front-end styling.
- Use jinja2 template for generate cleaner and maintainable html code.
- Use axios for http request.
- Use flask-wtform for use login.
- Use flask_assets to generate minified css and js from src code automatically.
- Use flask-login for auth router.
python3 -m venv env
to create the virtual venvsource env/bin/activate
activate the virtual venvpip3 install -r requirements.txt
to install all dependceniespython3 run.py
to run the server
- Should create
mongodata
folder first for mongodb to connect - Simply
docker-compose -f docker-compose.dev.yml up -d --force-recreate
todo:
- show kicked out message to user if not logged in