Skip to content

withSang/flask-pymongo-demo

Repository files navigation

Flask demo project with MongoDB

Prerequisites

  1. Local Development
  • Python 3.11 with dependencies in requirements.txt
  • MongoDB 6.0.0+
  1. Docker Deployment
  • Docker 20+ with docker-compose

Run Local Server

  • This command will start a local server at http://localhost:5024
    $ gunicorn -b 0.0.0.0:5024 server:app --timeout 120

Deploy with Docker

  1. Execute the command in the command line.
$ docker compose -f deploy/docker-compose.yml --env-file=.env up --build -d

About

Flask PyMongo Demo, 이것저것 붙여보기

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published