splitBhai is a group expense management app that simplifies shared expenses, offers smart financial insights, and includes features like event planning, gamified debt settlement, and non-monetary bartering options.
- Sign Up / Sign In: Secure user registration with optional OTP and TOTP verification.
- Authentication: JWT-based, with secure password storage using bcrypt.
- Security: Rate-limiting, HTTPS, secure cookies, CSRF protection.
- Post-Login Overview: View groups, expenses, events, and savings goals.
- Analytics: Smart insights and debt analysis from MongoDB.
- Create/Join Groups: Invite members via links or codes.
- Notifications: Real-time updates using WebSockets or Firebase.
- Expense Management: Add, split, and categorize expenses within groups.
- Event Planning: Tag expenses to events and manage timelines.
- Debt Challenges: Rewards for timely settlements.
- Automated Savings: Monthly contributions with CRON jobs.
- Spending Analytics: Track spending habits and trends.
- Geo-Tagging: Tag expenses by location for events and trips.
- Debt Settlement: Settle debts using goods or services instead of cash.
- Reminders: Alerts for payments, events, and group activities.
- Real-Time Updates: Handled via message queues and WebSockets.
- In-App Payments: Settle debts directly using payment gateways.
- Profile & Security: Manage profile, 2FA, and app preferences.
- Node.js/Express: Backend framework.
- MongoDB: Database for user, group, and expense data.
- Redis: Caching, OTP storage, Email sending Queue.
- JWT: Authentication.
- AWS: Deployment , storage and monitoring application health
- Cron Jobs: Automated tasks.
- WebSockets/Firebase: Real-time communication.
- Environment Variables: Secure handling of sensitive data.
- Role-Based Access Control: For group admins and members.
- Input Validation & API Rate Limiting: To mitigate attacks.
- AWS Deployment: Autoscaling, load balancers.
- Docker & Kubernetes: Containerization and orchestration.
- CI/CD Pipelines: Continuous integration and deployment.
This guide will help you set up splitBhai for local development.
Clone the Repository:
- Open your terminal.
- Run the following command to clone the project to your local machine:
git clone https://github.com/yourusername/splitbhai.git
Install Dependencies:
- Navigate into the project folder using the following command:
cd splitbhai
- Install the required packages by running:
npm install
Set Up Environment Variables:
- Create a file named
.env
in the root directory of the project. - Copy the contents of the
.env.example
file into the new.env
file. - Update the necessary values in the
.env
file according to your configuration.
Run the Application:
- Start the development server by running the following command in your terminal:
npm start
Access the Application:
- Open your web browser.
- Go to http://localhost:4040 to access the splitBhai application.
Further Instructions
For more detailed instructions on technical aspects and deployment procedures, refer to the README file inside the docs
folder of the project.
This project is licensed under the MIT License - see the LICENSE file for details.