Skip to content

Mogoatlhe/inventory-application

Repository files navigation

inventory-application

an online clothing store CRUD web application

Core Features

  • create an new item and category
  • read an item and category from the database
  • update an existing item and category
    • categories must be unique
    • items can have the same names
  • delete an existing item and category
    • any item can be deleted
    • only empty categories can be deleted
  • sort items by category
  • validate input fields

Additional Features

  • make the application responsive across different screen sizes.
  • add and store item images
  • sort items by name or price, in ascending and descending order.

Installation Instructions

  • Clone the repo
  • Open the inventory-application folder
  • Run npm i from your terminal to install all of the project's dependecies
  • Run npm run serverstart from your terminal to build and start the application
    • If your browser does not open automatically paste http://localhost:3000 in the address bar of your browser and press Enter

Lessons Learnt

  • Even though DELETE and PUT are valid HTTP methods, they are not valid HTML5 code. POST and GET are the only permitted form method attribute values. Everything else will send a GET request instead.

Credits