Skip to content

bulljam/Inventra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inventra

Inventra is an inventory management app for tracking products, suppliers, purchases, sales, stock levels, and business performance in one place.

Project Demo

Click the preview below to watch the demo. Use Ctrl + Click or open in a new tab if needed.

Project Demo

Highlights

  • Product, supplier, purchase, and sales management
  • Revenue and inventory analytics
  • Role-based authentication
  • Local image uploads
  • Responsive React frontend with a Node/Express API

Stack

  • Frontend: React, Vite, Tailwind CSS, Framer Motion
  • Backend: Node.js, Express, MongoDB, Mongoose

Quick Start

  1. Install dependencies:
cd backend
pnpm install

cd ../frontend
pnpm install
  1. Create environment files from the examples:
  • backend/.env.example
  • frontend/.env.example
  1. Start the backend:
cd backend
pnpm run dev
  1. Start the frontend:
cd frontend
pnpm run dev

Seed Data

Reset and seed the database with one command:

cd backend
pnpm run seed

Scripts

Backend

  • pnpm run dev
  • pnpm start
  • pnpm run seed
  • pnpm run migrate-purchases

Frontend

  • pnpm run dev
  • pnpm run build
  • pnpm run preview
  • pnpm run lint

Notes

  • Backend uploads are stored in backend/uploads/
  • The backend API runs on http://localhost:3000 by default
  • The frontend expects VITE_API_BASE_URL to point to the backend API

About

Inventory management system for tracking products, suppliers, purchases, sales, stock levels, and business performance in one place.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages