Skip to content

theedtron/flask-restful-tdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setting up

  • Clone project
  • pip install -r requirements.txt
  • Create a .env file from .env.example and edit it appropriately
  • Run the following to update and refresh your .bashrc:
    • echo "source which activate.sh" >> ~/.bashrc
    • $ source ~/.bashrc
    • source .env
  • Create Database flask_api
  • Run migrations:
    • python manage.py db init
    • python manage.py db migrate
  • run test by running python test_bucketlist.py
  • Serve the application: flask run

You are good to go :)

About

Developing flask API using test driven development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published