A comprehensive backend for an e-commerce system. Routes for products, catagories and tags can be delivered to a front end to provide users with the ability to view and filter products.
- Nodejs
- Express
- Sequelize
Application consists of 3 models, plus a junction model to bring together the many to many relationship between tags and products.
- id
- category_name
- id
- product_name
- price
- stock
- category_id
- id
- tag_name
--junction to connect product and tag--
- id
- tag_id
- product_id
/api/categories
- GET all ('/')
- GET by id (/:id)
- POST
- PUT ('/:id)
- DELETE ('/:id)
api/products
- GET all ('/')
- GET by id (/:id)
- POST
- PUT ('/:id)
- DELETE ('/:id)
/api/tags
- GET all ('/')
- GET by id (/:id)
- POST
- PUT ('/:id)
- DELETE ('/:id)