Stockenza is a comprehensive full-stack Point of Sale (POS), Billing, and Inventory Management system designed to streamline business operations.
- Point of Sale (POS) & Billing: Configurable tax rates, comprehensive transaction histories, and a seamless checkout experience.
- Inventory Management: Track products with detailed attributes (SKU, Category) and integrate with Cloudinary for product image uploads.
- Dashboard & Analytics: Real-time revenue and profit metrics with global date range filtering applied across charts and tables (Revenue & Profit Graph, Profit & Loss by Product).
- Order Management: Detailed order history with the ability to automatically generate and download PDF invoices for past transactions.
- Advanced Authentication: Secure user management leveraging robust authentication patterns, including password reset flows ("Forgot Password") and secure email verification logic.
- Core: Next.js 16, React 19
- Styling: Tailwind CSS
- Data Visualization: Recharts
- Utilities: Axios, jsPDF, html2canvas (for PDF invoice generation)
- Core: Node.js, Express.js
- Database: MongoDB with Mongoose
- Security: JWT (JSON Web Tokens), bcryptjs
- Media & Email Storage: Cloudinary (Image handling), Nodemailer & Resend (Email distribution)
stockenza_frontend/: The client-facing Next.js application containing the dashboard, POS views, inventory management, order history, and authentication forms.stockenza_backend/: The Node.js Express API handling business logic, database transactions, image uploads, and email token verification.
- Node.js (v18 or higher recommended)
- MongoDB instance (Atlas or local)
- Cloudinary API credentials
- Resend / Nodemailer configured email service
-
Clone the repository:
git clone https://github.com/JhaSourav07/stockenza.git cd Stockenza -
Backend Setup:
cd stockenza_backend npm installCreate a
.envfile in thestockenza_backenddirectory with the following necessary variables:MONGO_URI,JWT_SECRET, yourCLOUDINARY_*keys, and yourRESEND_API_KEYor SMTP settings.Start the backend development server:
npm run dev
-
Frontend Setup:
# Open a new terminal cd ../stockenza_frontend npm install
Create a
.env.localfile in thestockenza_frontenddirectory (e.g.,NEXT_PUBLIC_API_URL=http://localhost:5000/api).Start the frontend development server:
npm run dev
This project is licensed under the ISC License.