Ledger is a comprehensive web application designed to streamline shop management for shopkeepers. With features like customer management, expense tracking, invoice generation, payment tracking, and detailed sales analytics, Ledger aims to simplify and enhance the daily operations of small businesses.
- Customer Management: Maintain detailed customer profiles and track their purchase history.
- Expense Management: Keep an accurate record of all operational expenses.
- Invoice/Bill Generation: Generate invoices for one or multiple items, supporting both GST and non-GST bills.
- Payment Tracking: Monitor payments received and made, with detailed transaction records.
- Dashboard: Visualize monthly and daily sales data through an intuitive dashboard.
- Profit Tracking: Analyze profits on a daily, monthly, and weekly basis.
- User Authentication: Secure user login and registration, ensuring data privacy and protection.
- Frontend: React, Tailwind CSS, Material-UI
- Backend: Node.js, Express.js
- Database: MongoDB, PostgreSQL
- Authentication: Firebase Authentication (optional)
ledger/
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── utils/
│ ├── .env
│ ├── app.js
│ └── server.js
├── frontend/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── styles/
│ │ ├── App.js
│ │ └── index.js
├── .gitignore
├── README.md
├── package.json
└── package-lock.json
- Node.js (v14 or higher)
- npm (v6 or higher)
- MongoDB
- PostgreSQL
-
Clone the repository:
git clone https://github.com/yourusername/ledger.git cd ledger/backend
-
Install dependencies:
npm install
-
Create a
.env
file in thebackend
directory and add the following:PORT=5000 MONGO_URI=your_mongodb_uri POSTGRES_URI=your_postgresql_uri JWT_SECRET=your_jwt_secret
-
Run the backend server:
npm start
-
Navigate to the frontend directory:
cd ledger/frontend
-
Install dependencies:
npm install
-
Run the frontend server:
npm start
-
Ensure MongoDB and PostgreSQL are running.
-
Start the backend server (in
backend
directory):npm start
-
Start the frontend server (in
frontend
directory):npm start
-
Open your browser and navigate to:
http://localhost:3000
We welcome contributions from the community! To get started:
-
Fork the repository: Click on the 'Fork' button at the top right of this page.
-
Clone your fork:
git clone https://github.com/yourusername/ledger.git
-
Create a new branch:
git checkout -b feature-branch
-
Make your changes: Add new features, fix bugs, improve documentation.
-
Commit your changes:
git commit -am 'Add new feature'
-
Push to your branch:
git push origin feature-branch
-
Open a pull request: Go to the original repository and click the 'New pull request' button.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries, please contact priyans-hu.
If you like this project, please consider giving it a ⭐ on GitHub!