RobotPacc is a robust inventory management system designed to streamline the handling of product master data, suppliers, customers, and stock movements. It features a modern web-based frontend built with Svelte and Vite, while the backend is powered by Node.js with Express and SQLite for lightweight data storage.
This system is preloaded with dummy values for testing and development purposes.
- Product Management: Track product master data, including stock levels, pricing, and descriptions.
- Supplier Management: Maintain supplier records and link them to supplied items.
- Customer Management: Store customer details for order and transaction tracking.
- Stock Transactions:
- Inward Transactions: Record stock received from suppliers.
- Outward Transactions: Manage stock issued to customers.
- User-Friendly Interface: Built with Svelte and Vite for an optimized and modular frontend experience.
- Lightweight Backend:
- Developed with Node.js and Express.
- Uses SQLite for efficient and lightweight data storage.
- Integrated API endpoints for seamless data operations.
robotpacc/
├── client/ # Frontend (Svelte, Vite)
│ ├── Add-Customers/
│ ├── Add-Items/
│ ├── Add-Suppliers/
│ ├── Inward/
│ ├── Outward/
│ ├── Home/
│ ├── Inwards/
│ ├── Outwards/
│ ├── Pmaster/
├── server/ # Backend (Node.js, Express, SQLite)
│ ├── routes.js # API endpoints
│ ├── db.js # Database connection
│ ├── server.js # Main backend server file
│ ├── seed.js # Database seeding script
│ ├── data.db # SQLite database file
│ ├── package.json # Backend dependencies
├── vite/ # Vite frontend configurations
├── commands.txt # SQL schema commands
└── package.json # Project dependencies
- Bun.js (>= 1.2)
- SQLite3
- Bun Package Manager (for server dependencies)
- Clone the repository:
git clone <repository-url> cd robotpacc
- Install dependencies:
bun install
- Initialize the database:
bun server/seed.js
- Start the backend server:
bun run server/server.js
- Start the frontend:
cd client vite
The backend exposes REST API endpoints via Express:
GET /products- Fetch all productsPOST /products- Add a new productGET /products/:id- Fetch a specific productPUT /products/:id- Update product detailsDELETE /products/:id- Remove a product
GET /suppliers- Retrieve supplier detailsPOST /suppliers- Add a new supplierGET /suppliers/:id- Fetch a specific supplierPUT /suppliers/:id- Update supplier detailsDELETE /suppliers/:id- Remove a supplier
GET /customers- Retrieve customer detailsPOST /customers- Add a new customerGET /customers/:id- Fetch a specific customerPUT /customers/:id- Update customer detailsDELETE /customers/:id- Remove a customer
GET /inwards- Fetch all inward transactionsPOST /inwards- Add an inward stock transactionGET /inwards/:id- Fetch a specific inward transactionPUT /inwards/:id- Update an inward transactionDELETE /inwards/:id- Remove an inward transactionGET /outwards- Fetch all outward transactionsPOST /outwards- Record an outward stock transactionGET /outwards/:id- Fetch a specific outward transactionPUT /outwards/:id- Update an outward transactionDELETE /outwards/:id- Remove an outward transaction
- Frontend: Svelte, Vite
- Backend: Bun.js, Express
- Database: SQLite
- Package Management: Bun
This project was conceptualized and developed by K Jayatheerth, in coordination with Geethanjali College of Engineering and Technology, with industry collaboration from RobotPacc.
- K Jayatheerth