A full-stack MERN application to manage money transactions between friends with due date tracking and visual analytics.
- Track money lent to and borrowed from friends
- Automatic due date calculation based on friend's repayment period
- Weekly financial outlook with transaction summaries
- Visual analytics with charts and statistics
- Responsive design for all devices
- Frontend: React, Shadcn UI, TailwindCSS, Recharts
- Backend: Node.js, Express.js
- Database: MongoDB
- State Management: React Context API
- Form Handling: React Hook Form with Zod validation
- Clone the repository:
git clone https://github.com/s-satyajit/mern-friendpay.git
cd mern-friendpay- Install dependencies:
# Install backend dependencies
cd backend
npm install
# Install frontend dependencies
cd ../frontend
npm install- Set up environment variables:
# In backend/.env
DB_URI=your_mongodb_connection_string
PORT=8080- Run the application:
# Start backend server (from backend directory)
npm run dev
# Start frontend development server (from frontend directory)
npm run devmern-friendpay/
├── backend/ # Backend server code
├── frontend/ # Frontend React application
└── README.md # Main documentation
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request