Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 747 Bytes

File metadata and controls

30 lines (23 loc) · 747 Bytes

Flask Restful App

This is a Flask Restful API which allows new users to register, authorize which provides a JWT token, and interact with Store and Item tables. Available commands are GET, POST, PUT, and DELETE.

Implementation

  1. Clone repository
  2. Create a virtual environment, and use pip to install the requirements
pip install -r requirements.txt
  1. cd into app folder, and run app.py
cd app
python app.py
  1. Use Postman to interact with API.

Technology

  • Flask
  • FlaskRESTful
  • Flask SQLAlchemy
  • SQLite3

Limitations

Due to the limitations of SQLite 3, it is not possible to write to multiple tables at once, and the ORM is very limited, allowing items to be created with store id's which may not exist yet.