Skip to content

austitech/Todo-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo API

An API for creating, updating, retrieving and deleting todo tasks.

How to install

  • create a virtualenv and activate it
  • install required modules
  • set environment variables
  • create and migrate database
  • run application

Create a virtualenv and Activate it

Assuming windows:

virtualenv venv
cd venv/scripts
activate

Install required modules

pip install -r requirements.txt

set environment variables

Assuming windows:

set FLASK_ENV=development
set FLASK_APP=todo:factory

Create and migrate database

flask db init
flask db migrate
flask db upgrade

Run application

flask run

The development server is run at localhost:5000

Documentation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages