Simple product viewer (Backend)
Instructions:
- Run
npm install
to add all required dependencies - Run
npm run start:dev
to start the development server
Please use the following route to test the app:
- Add product:
POST http://localhost:3000/api/products/add
- View all products:
GET http://localhost:3000/api/products
- View specific product:
GET http://localhost:3000/api/products/:id