Dryce is a mobile application that allows its users to send laundry request through a vendor. A vendor can be registered through our web application.
Clone the project with git
git clone https:/Rquaicoo/dryce-api.git
to start the project, go to the project directory
cd dryce
Install dependencies
pip install -r requirements.txt
Start the server
pyhton manage.py runserver
The app starts by default at port 8000 to run at a custom port, run:
python manage.py runserver [specify port number]
GET /api/cart
Parameter | Type | Description |
---|---|---|
token |
string |
Required. Your auth token |
POST /api/cart
Parameter | Type | Description |
---|---|---|
token |
string |
Required. Your auth token |
shirts |
int |
Required. Number of shirts |
dresses |
int |
Required. Number of dresses |
trousers |
int |
Required. Number of trousers |
cardigans |
int |
Required. Number of cardigans |
jeans |
int |
Required. Number of jeans |
blouses |
int |
Required. Number of blouses |
PUT /api/cart
Parameter | Type | Description |
---|---|---|
token |
string |
Required. Your auth token |
shirts |
int |
Required. Number of shirts |
dresses |
int |
Required. Number of dresses |
trousers |
int |
Required. Number of trousers |
cardigans |
int |
Required. Number of cardigans |
jeans |
int |
Required. Number of jeans |
blouses |
int |
Required. Number of blouses |
GET /api/items/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
token |
string |
Required. Your authentication token |
POST /api/auth/register/
POST /api/auth/login/
POST /api/auth/Validate_email/
POST /api/auth/Validate_username/
POST /api/auth/logout/
GET /api/cart
Parameter | Type | Description |
---|---|---|
token |
string |
Required. Your auth token |
otp |
string |
Required. An otp send to the email |