A lightweight and efficient Next.js based sales tracking web application that helps manage customer-wise and product-wise sales data using invoice inputs β deployed and hosted on Vercel.
- Invoice-Based Entry
- Seamlessly record sales through structured invoice data.
- Customer Account Management
- Auto-creates a sales page for new customers
- Updates existing customers with new invoices
- Detailed Customer History View
- Browse full sales history per customer including every invoice and transaction.
- Product-Wise Sales Analytics
- Easily track sales per product and spot top-performing items.
- Next.js β React framework with built-in backend API support
- API Routes β Built-in backend handling for data & logic
- MongoDB β Backend database
- Modular MVC Pattern β Clean backend structure for scalability
- Environment Variables β .env.local for DB & secret credentials
Sales Ledger Manager is deployed on Vercel for seamless hosting and continuous deployment.
- Automatic deployments with Git integration
- Built-in CI/CD pipeline
- Serverless functions for backend API routes
- Global CDN for fast loading
- Environment variable management
- Easy preview deployments for testing
- Push your code to GitHub, GitLab, or Bitbucket
- Import your repository in Vercel:
https://vercel.com/import - Add environment variables:
MONGODB_URI: Your MongoDB connection string- Add other required secrets
- Deploy with a single click
- Your app will be live at
your-project-name.vercel.app
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production
npm run build
# Start production server locally
npm startFeel free to fork, contribute, or raise issues if you have ideas, suggestions, or improvements. Let's build something awesome together! πͺ