flask-api

Flask Application Programming Interface for my Store-Manager project.

MIT License

Stars
0

flask-api

Flask Application Programming Interface for my Store-Manager project.

Heroku Endpoints

|Endpoint|Link| |Index Route|/| |'Products' GET|/storemanager/api/v1/Products| |'Products' GET Item|/storemanager/api/v1/Products/name| |'Products' POST|/storemanager/api/v1/Products| |'Sales' GET |/storemanager/api/v1/Sales| |'Sales' GET |/storemanager/api/v1/Sales/sale_id| |'Sales' POST |/storemanager/api/v1/Sales|

Features

|---|---| |- add attendant| |- make sales| - add new, modify and delete products| |- view user profile|- view sales made by different attendants| |- add products to cart| ||- view product details|

Project Installation

Action Command Neeeded
To Install ' git clone https://github.com/neelxie/flask-api.git'

Using the project

Action Command Needed
Project root 'cd flask-api'
Environment creation 'virtualenv fenv'
Activate Environment on Windows ' fenv\Scripts\activate'
Install project Dependencies ' pip install -r requirements.txt

Testing the app

  • 'pytest'

Running the app

  • 'python run.py'

CREDITS

  • I would like to appreciate other bootcamp candidates for your efforts in helping me where you could.

Author

  • SEKIDDE DERRICK
Badges
Extracted from project README
Build Status Maintainability Coverage Status Test Coverage