akshayadinesh / flask-rest-api-sqlite-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flask-rest-api-sqlite-example

Playing around with flask, sqlite, and docker as a teaching tool for beginner web development.

  1. Install docker for your particular machine: https://docs.docker.com/engine/installation/

  2. Build the docker image for the app from inside the repo:

docker build -t <YOUR_DOCKER_HUB_USERNAME>/flask-rest-api-sqlite-example .
  1. Start running the app using docker:
docker run -p 8888:5000 <YOUR_DOCKER_HUB_USERNAME>/flask-rest-api-sqlite-example
  1. Visit the local app running in container at localhost:8888.

About


Languages

Language:Python 70.0%Language:JavaScript 14.1%Language:HTML 13.8%Language:Dockerfile 2.1%