Web app to help vendors of coffee beans and coffee products to manage their inventory.
Add issue
Full-stack, inventory management web app to enable basic CRUD operations for items, and categories.
Built in Express.js (Node.js), with PostgreSQL database (pg integration with Express.js) and EJS templating.
This project is part of The Odin Project's "Full Stack JavaScript" course. This is also my first full-stack project, so largely the focus has been just trying to get things built. It's also the first time I've used TailwindCSS as a front-end web developer 😅 (i love it btw).
View of all items in inventory:

View of managing the adding/removing of composite items (including creating a fresh item to the inventory) to a given category (here it is for "Coffee beans").

View of a confirmation modal for user to confirm they'd like to delete a category. Deleting a category also "orphans" its items.

-
Fork then clone this repository,
-
Install all packages and dependencies
npm i
-
Run PostgreSQL in terminal by running
psql, and create the database:CREATE DATABASE coffee_inventory;You can verify if db was created using
\l -
Create a
.envfile in root of repository with your Postgres details. It should look like this:USER_NAME: "your_username" PASSWORD: "your_password"
-
Start development server and TailwindCSS (used for styling) build processes. You will need two terminals - one each - for these:
npm run dev
npm run build:css
Distributed under MIT Licence.