N:B be sure you have NodeJs installed, If not follow this link to Install NODE
`npm run dev` or `yarn run dev`
`npm run test` or `yarn run test`
npm start
base url =
api/v1
product url =
/products
Http-Method | Url |
---|---|
GET | / |
GET | /search |
GET | /:product_id |
GET | /inCategory/:product_id |
GET | /inDepartment/:product_id |
customer url =
/customers
Http-Method | Url |
---|---|
POST | / |
POST | /login |
PATCH | /address |
social login url
Http-Method | Url |
---|---|
GET | /auth/google |
order url =
/orders
Http-Method | Url |
---|---|
POST | / |
GET | /shortDetails/:order_id |
stripe url =
/stripe
Http-Method | Url |
---|---|
POST | /charge |
POST | /token |
category url =
/categories
Http-Method | Url |
---|---|
GET | / |
GET | /:category_id |
department url =
/departments
Http-Method | Url |
---|---|
GET | / |
GET | /:department_id |
shoppingcart url =
/shoppingcart
Http-Method | Url |
---|---|
GET | /generatecartid |
POST | /add |
GET | /:cart_id |
DELETE | /empty/:cart_id |
tax url =
/tax
Http-Method | Url |
---|---|
GET | / |
GET | /:tax_id |
The Api endpoints used for this application can be found in the app documentation through the following link: postman documentation
-
NodeJs - is a JavaScript runtime built on Chrome's V8 JavaScript engine.
-
Express - is a minimal and flexible Node.js web application
-
sequelize - Sequelize ORM documentation.