Store Manager is a web application that helps store owners manage sales and product inventory records. This application is meant for use in a single store.
- HyperText Mark-up Language (HTML)
- Cascade Style Sheet (CSS)
- Javascript
- Nodejs (Express framework)
- Mocha (Test Framework)
- Chai (Assertion Library)
The Store Manger project is broken down into small task with pivotal tracker board. The link to the relevant Pivoltal tracker board is (https://www.pivotaltracker.com/n/projects/2203434)
The API is hosted at (https://musonant-store-manager.herokuapp.com/api/v1)
The application is hosted online on gh-pages with [StoreMangager] (https://musonant.github.io/store-manager/UI/)
- Get all Products
- Get a specific Product
- Get all Sales Record
- Get a specific Sale Record
- Create Products
- Create Sale Record
- run npm install
- install POSTMAN app
- run
npm run start
then navigate to start the server - You can also run
npm run start:dev
to start in development mode - then navigate to
localhost:8000
with POSTMAN
HTTP VERB | ENDPOINT | TASK |
---|---|---|
GET | api/v1/products | Get all Products |
GET | api/v1/products/:productId | Get a single Product |
GET | api/v1/sales | Get all Sales |
GET | api/v1/sales/:saleId | Get a single sale record |
POST | api/v1/products | Create a Product |
POST | api/v1/sales | Create a new Sale record |
Emmanuel Osuh