Skip to content

NascimentoMatheus1/Inventory-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 Inventory Management System pt-br

A full-stack CRUD application built with Node.js, Express, and PostgreSQL. This project was developed as part of the NodeJS course to practice database relations and server-side rendering with EJS.

🌐 Deployment

  • Backend: Node.js/Express hosted on Render (Free Tier).
  • Database: PostgreSQL hosted on Neon platform.
  • This project is on a free server that hibernates during inactivity. Please be patient for about a minute while it boots up

🚀Live Demo:

You can explore the live application at the link this link 👉 🔥 Live Demo

📸 Preview

Home page: image.alt

Categories page: image.alt

Category Detail page: image.alt

Category Create page: image.alt

Category Edit page: image.alt

Products page: image.alt

Product Detail page: image.alt

Product Add page: image.alt

Product Update page: image.alt

🛠 Features

  • Full CRUD: Create, Read, Update, and Delete both Categories and Products.
  • Relational Database: Items are linked to specific categories with Foreign Key constraints.
  • Dynamic UI: View all categories or filter items by a specific category.
  • State Persistence: Filters and sort orders are maintained across page reloads.
  • Data Integrity: Custom logic handles what happens to items when a category is deleted.

🛠️ Tech Stack

  • Backend: Node.js, Express.js
  • Database: PostgreSQL
  • Frontend: EJS (Embedded JavaScript Templates), CSS3

📂 Database Schema

The application uses two main entities with a One-to-Many relationship: one category can contain multiple products.

Tables:

  • Categories: id, name, description.
  • Products: id, name, description, sale_price, current_stock, category_id.

Releases

No releases published

Packages

 
 
 

Contributors