From d12e2581b61c2513511f9dc53d8e23be65ad2ac2 Mon Sep 17 00:00:00 2001 From: Kfir Dayan Date: Sun, 11 Jun 2023 12:52:34 +0300 Subject: [PATCH] README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 49c15f4..63feefd 100644 --- a/README.md +++ b/README.md @@ -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 ###