git clone https://github.com/Dev-Mehta/blossom-api.git
pip install virtualenv
virtualenv env
Activate the virtualenv
env\Scripts\activate
source env/bin/activate
pip install -r requirements.txt
python manage.py runserver
Endpoint | Description | Request Method |
---|---|---|
/api/consumer/register/ | Register a client/consumer for the app | POST |
/api/seller/register/ | Register a seller for the app (The nursery which would be selling plants) |
POST |
/api/consumer/login/ | Login a client/consumer to the app | POST |
/api/seller/login/ | Login a seller to the dashboard app | POST |
/api/seller/add-plant/ | Add a plant to the catalogue of nursery | PUT |