- Python 3.x
- PostgreSQL database
- virtualenv
pip install -r requirements.txt
python migrate.py db init
python migrate.py db migrate
python migrate.py db upgrade
python run.py
- GET -
/api/Category - Retrieve all categories
- POST -
/api/Category - Add a new category
- PUT -
/api/Category - Update a category
- DELETE -
/api/Category - Delete a category
- GET -
/api/Comment - Retrieve all the stored comments
- POST -
/api/Comment - Add new comment