Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 753 Bytes

File metadata and controls

35 lines (26 loc) · 753 Bytes

flaskdockerized

A dockerized app built on top of Flask, and SQLAlchemy in Python3 It will create he schema when the server starts. I have also added an endpoint to seed the database.

APIs endpoints:

[GET]
[POST]

Steps to run

  • Clone the repository

using local:

  • Setup .env file
  • python ./app/app.py

using dockers:

  • docker-compose up

Requirements

  • Docker
  • Docker Compose

.ENV Example

DB_USERNAME=root

DB_PASSWORD=root

DB_HOST=localhost

DB_NAME=docs_db