A REST API for a ecommerce clothing store.
Postman documentation for API endpoints and example responses.
GET /api/v1/collection/all
GET /api/v1/products/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of product to fetch |
GET /api/v1/allproducts/${name}
Parameter | Type | Description |
---|---|---|
name |
string |
Required. name of product to fetch |
POST /api/v1/addproduct
PUT /api/v1/products/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of product to update |
DELETE /api/v1/products/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of product to delete |
GET /api/v1/categories
GET /api/v1/category/${name}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. name of category to fetch |
POST /api/v1/addcategory
PUT /api/v1/category/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of category to update |
DELETE /api/v1/category/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of category to delete |
GET /api/v1/allusers
GET /api/v1/user/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. id of user to fetch |
POST /api/v1/signup
POST /api/v1/login
PUT /api/v1/user/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of user to update |
DELETE /api/v1/user/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of user to delete |
GET /api/v1/cart
POST /api/v1/addtocart
PUT /api/v1/updatecart/{id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of cart item to update |
DELETE /api/v1/deleteitem/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of cart item to delete |
- CRUD cyle
- MVC(S) Architectural design pattern
- Data Transfer Objects and their uses
- Database management (PostgreSQL)
- Spring Security
- JWT - JSON Web Tokens