Skip to content

dmoygit/Image-Carousel-Service

 
 

Repository files navigation

Dev instructions for the image carousel component.

  1. npm install - for dependencies
  2. npm run build - for webpack to bundle
  3. Must have MongoDB installed and running
  4. npm run seed - to seed the DB
  5. npm start - to run server

Available API Routes

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.6%
  • HTML 1.9%
  • TSQL 1.8%
  • CSS 0.7%