- This is a very simplistic api built in node to build an understanding around how http library works
- To start application run with
nodemon
yarn dev
#or
npm dev
- To start application
yarn start
#or
npm start
-
To get home Page
localhost:8000/users
-
To get users
localhost:8000/users
-
To get product
localhost:8000/products
-
To get product by id
localhost:8000/products?id=0