A digital platform for managing ROSCA (Rotating Savings and Credit Association).
It is a financial cooperative where:
- A group of people (called a "circle") commit to saving together
- Each member contributes a fixed amount every 2 week
- Each period, all members contribute → one member receives the total pot
- Members take turns receiving the pot until everyone has received once
- Frontend: Next.js (React framework)
- Backend: Node.js with Express
- Database: PostgreSQL
- Authentication: Email-based OTP (One-Time Password)
- Node.js 18+
- PostgreSQL 14+
- npm 11+
-
Clone the repository
git clone https://github.com/val-mon/rosca-hei.git cd rosca-hei -
Set up the database
- launch postgres (in docker)
- use
db/create_db.sqlto create the db
-
Configure environment variables
- Duplicate
.env.exampleand name it.env - Fill it
- Duplicate
-
Install and run backend
cd backend npm install npm start -
Install and run frontend
cd frontend npm install npm run dev -
Access the application at http://localhost:3000
- use
db/create_db.sqlto create the db - use
db/inser_example.sqlto fill the db - Run backend tests on mockdatas:
cd backend npm test