/inventory-tracking-web-application

Shopify inventory-tracking-web-application backend API

Primary LanguageJavaScript

inventory-tracking-web-application

Shopify inventory-tracking-web-application backend API. GitHub Repo.

Quick Start

# Install dependencies
npm i

# Install dev-dependencies
npm i -D nodemon

# Serve on localhost:5000 (development)
npm run dev

# Serve on localhost:5000 (production)
npm start

# Import sample data into mongodb
node seeder -i

# Delete data from mongodb
node seeder -d

Instruction

Note
url         https://inventory-tracking-web-application.oyedotunsodiq.repl.co
url         https://shopify-itwa.herokuapp.com
url         https://inventory-tracking-web-application.glitch.me/

Testing

Routes Description
Inventory
POST             url/api/v1/inventories Create Inventory
GET               url/api/v1/inventories Get All Inventories
GET               url/api/v1/inventories/:id Get Single Inventory
PUT               url/api/v1/inventories/:id Update an Inventory
DELETE         url/api/v1/inventories/:id Delete an Inventory
GET               url/api/v1/inventories/export Export All Inventories
GET               url/api/v1/inventories/:id/export Export an Inventory
GET               url/api/v1/inventories/month Get this month Inventory
GET               url/api/v1/inventories/week Get this week Inventory
GET               url/api/v1/inventories/today Get today's Inventory
Advanced Filtering
Select, Sorting
Pagination