No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
nginx
scripts
.gitignore
Dockerfile
README.md
docker-compose.yml

README.md

Todo App API with Flask

This is a simple API written in with Flask running in a Docker container.

Endpoints

  • /todo-items/<int:todo_list_id>/new/

  • /todo-items/<int:todo_list_id>/all/

  • /todo-items/delete/<int:todo_item_id>

  • /todo-items/update/<int:todo_item_id>

  • /todo-items/all/

  • /todo-items/<int:todo_item_id>/done

  • /todo-lists/all/

  • /todo-lists/<int:todo_list_id>/

  • /todo-lists/new-list/

  • /todo-lists/search/

Usage

Clone the repository to you machine:

git clone git@github.com:sophialittlejohn/flask-todo-app.git

Navigate to the right directory:

cd flask-todo-app

Build the Docker container:

docker build -t sophialj/flask-todo-app:latest .

Start the Docker container:

docker-compose up -d

You can now view the endpoints at http://localhost:8000