Test driven docker solution using VueJS, Flask, PostgresSQL, with swagger, & prebuilt authentication+JWT's running on NGINX/https
docker-compose up -d --build
docker-compose exec backend python manage.py create
docker-compose exec backend python manage.py seed
User: avengers@gmail.com
Pass: supersecret
https://localhost:4433/
https://localhost:4433/<api route>
http://localhost:5001/users
docker-compose exec backend pytest "project/tests" -p no:warnings --cov="project"
http://localhost:5001/swagger
Open the command line and run these commands inside the services/nginx/ssl
folder to generate a self signed certificate:
openssl req -new -newkey rsa:1024 -x509 -sha512 -days 365 -nodes -out nginx.crt -keyout nginx.key
openssl dhparam -out dhparam.pem 1024