- Movies related REST APIs
- Logging & Monitoring of the application on Elastic APM
- Built using SQLAlchemy ORM
- Caching on redis
- Deployment on Docker
- Tech Stack: Python, Flask, SQLAlchemy, Elastic-APM, PostgreSQL, REST API, Docker
- Add
.env
file, using.env_example
$ pip install pipenv
$ pipenv shell
$ pipenv install
$ flask db init
$ flask db migrate
$ flask db upgrade
$ sh run.sh
or
$ gunicorn -w 1 -b 0.0.0.0:8080 "app:initialize_app()" --timeout 9600 --preload --access-logfile access.log --error-logfile error.log --log-level 'error'
Note: add .env_docker
for this
$ docker pull sagarhimanshu/movies-app-web:latest
$ docker compose up