A full stack Inventory management system
Backend: TypeScript, Node.js, express.js, mongoDB, mongoose, zod
Frontend: TypeScript, React, Redux-toolkit, Ant-design, zod, recharts, react-hook-form, sweetalert2, react-router-dom
Authentication - Register new account and login into existing account
Manage and update own profile page and change password
Create -
Create new product with various information
Create Seller
Create Product Category
Create Product Brand
Manage product -
View All Product of login user
filter and search using different fields
pagination
update existing product
delete existing product
create new variant of product
sell that product
Manage sale -
View all sale with pagination
update sale data
delete sale data
Manage seller -
View all seller with pagination
update seller data
delete seller data
Manage purchase -
View all purchase with pagination
update purchase data
delete purchase data
Sale history - View sales history categorized by:
Yearly
Monthly
Weekly
Daily
How to run application locally
Create a .env file to client folder and add the environment variable
VITE_BASE_URL=http://localhost:8000/api/v1
Create a .env file to server folder and add the environment variable
NODE_ENV=dev
PORT=8000
DATABASE_URL= # ### use your local mongodb URI or mongodb atlas URI
JWT_SECRET=your_secret_key
Install the dependencies and run backend
cd client # or go to server folder and open the terminal in this directory
npm install
# then
npm run dev
Install the dependencies and run frontend
cd client # or go to client folder and open the terminal in this directory
npm install
# then
npm run dev