We have a APP called CLOTH STORE that has 5 API Endpoints
Methods | Endpoints | Actions |
---|---|---|
/POST | /api/v1/cloths | Creating a Item |
/PATCH | /api/v1/cloths/:id | updating an Item |
/DELETE | /api/v1/cloths/:clothId | Delete specified item |
/GET | /api/v1/cloths | GET all items on cloth table |
/GET | /api/v1/cloths/:clothId | GET one item |
git clone https://github.com/shaluchandwani/Cloth-Store.git
npm install
npm run start
npm run test
Adding more API and tests will be appriciated.
The folder structure is very simple it will give an idea about what to add where.