Skip to content

The-Syntax-Slingers/inventory-app

Repository files navigation

logo

Inventory App

You are a team of developers for an e-commerce company. The Engineering team is rebuilding their inventory tracking app from the ground up. Your team has been tasked with creating a Full-Sack (front and back end) RESTful CRUD application to track the items.

Getting Started

  1. npm install
  2. npm run seed
  3. npm run server-dev
  4. In a seperate terminal, npm run client-dev

Inventory App “Tiers”

The tiers describe different levels of functionality in your application with the difficulty becoming more complex as you advance through the tiers. Start with Tier I, and complete everything you can, moving as quickly as possible as you can to Tier II. They are described as user stories.

Your team should strive to finish at least the first 4 tiers (a CRUD application) and attempt some of the bonus material.

Tier I: MVP Application

  • As a User, I want to view all items in inventory
    • Sequelize Model for Item
    • Name, Description, Price, Category, Image
    • Express Route to GET all Items
    • Front-end View for all Items
  • As a User, I want to view any individual item
    • Express Route to GET one Item
    • Front-end view for one item (click to see)

Tier II: Adding an Item

  • As a User, I want to add an item by completing a form
    • Add Item front-end form
    • Express Route to ADD the Item
    • Form or Fetch request to add item when form is submitted

Tier III: Deleting an Item

  • As a User, I want to remove an item from inventory
    • Delete button on Single Item View
    • Express Route to DELETE the Item
    • Fetch request to delete item when button is clicked

Tier IV: Updating an Item

  • As a User, I want to edit an item by filling a form
    • Edit form on Single Item View
    • Express Route to UPDATE the Item
    • Fetch request to update item when form is submitted

Tier V: Bonus Stuff

  • Models, Routes for Users and Orders
  • As a User, I want my Inventory site to be visually stunning
  • As a User, I want to be able to search through data based on search criteria
  • As a User, I want to add items to a cart and purchase
  • As a User, I want to use the application on a mobile browser
  • As an Admin, I want all Add and Edit item requests to have server-side validations -test