/todo-app-flask

A flask API for a todo list

Primary LanguagePython

Todo App

This is a Flask REST API for a todo application

Prerequisites

This assumes you have the following installed locally:

  1. Python 3 and higher
  2. Postgres

Getting started

  1. Clone this repository:
$ git clone <repo>
  1. Create a virtual environment and install all requirements:
$ python3 -m venv venv && source venv/Scripts/activate && pip3 install -r requirements.txt
  1. Create a .env file at the root of the directory using the variables in sample.env file at the root of the project directory.
$ cp sample.env .env
  1. Run migrations:
$ python manage.py db init && python manage.py db migrate
  1. Run your server:
$ python manage.py runserver