Skip to content

himanshu-sagar/movies-app

Repository files navigation

Movies Application

Features & Tech Stack


  • 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

Steps to Setup


  • Add .env file, using .env_example

Commands


Install all dependencies

$ pip install pipenv
$ pipenv shell
$ pipenv install

Set up Migrations

$ flask db init
$ flask db migrate
$ flask db upgrade

Running the application

$ 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'

Run application in Docker using Dockerfile and docker-compose.yml

Note: add .env_docker for this

$ docker pull sagarhimanshu/movies-app-web:latest
$ docker compose up

Screenshots

image

image image

image

image

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published