- npm install - for dependencies
- npm run build - for webpack to bundle
- Must have MongoDB installed and running
- npm run seed - to seed the DB
- npm start - to run server
| Endpoint | Type | Operation |
|---|---|---|
/api/carousel/:refId |
GET | Get image with refId |
/api/carousel/ |
POST | Add array of images |
/api/carousel/:refId |
PUT | update image with refId |
/api/carousel/:refId |
DELETE | delete image with refId |
refID - _id created by mongoDB for each image