README
This commit is contained in:
parent
e44d9f0b6f
commit
d12e2581b6
1 changed files with 3 additions and 3 deletions
|
@ -22,11 +22,11 @@ Technologies used:
|
|||
The application will be running on port 3000
|
||||
The database will be running on port 27017
|
||||
|
||||
## API ##
|
||||
# API #
|
||||
app.use('/products', productRouter);
|
||||
app.use('/cart', cartRouter);
|
||||
|
||||
# Users #
|
||||
## Users ##
|
||||
## POST /users ## - Create a new user
|
||||
### Request body ###
|
||||
```json
|
||||
|
@ -70,7 +70,7 @@ app.use('/cart', cartRouter);
|
|||
``` Cookie - "access-token"": "string" ```
|
||||
|
||||
|
||||
# Products #
|
||||
## Products ##
|
||||
## GET /products ## - Get all products
|
||||
accepts query params: page, limit. Default values: page = 0, limit = 50.
|
||||
### Response body ###
|
||||
|
|
Loading…
Reference in a new issue