Skip to content

Latest commit

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Reeni Backend 🚀

A Node.js/Express backend for the Reeni App - a loan/borrow tracking application with email reminders.

🌐 Live URL

Backend:https://reeni-server.vercel.app

✨ Features

  • 📝 CRUD operations for loan/borrow items
  • 👤 User-based data isolation (Firebase UID)
  • 📧 Automated email reminders for overdue items
  • 📜 History tracking
  • 🔒 MongoDB Atlas integration

🛠️ Tech Stack

  • Runtime: Node.js
  • Framework: Express.js
  • Database: MongoDB Atlas
  • Email: Nodemailer (Gmail)
  • Scheduler: node-cron + cron-job.org
  • Hosting: Vercel

📡 API Endpoints

Items (Loans/Borrows)

MethodEndpointDescription
GET/new-list?userId=xxxGet all items for a user
POST/new-listCreate new item
PUT/new-list/:idUpdate item
DELETE/new-list/:idDelete item

History

MethodEndpointDescription
GET/history?userId=xxxGet history for a user
POST/historyAdd to history
DELETE/history/:idDelete history item

Utilities

MethodEndpointDescription
POST/check-overdueManually trigger overdue check
POST/test-emailTest email configuration

🚀 Local Development

# Install dependencies
npm install
# Run with nodemon
npm run dev
# Or run directly
node index.js

📧 Email Reminders

  • Automated daily check at 9:00 AM (Asia/Dhaka)
  • Sends Bengali email reminders for overdue items
  • Powered by cron-job.org for Vercel serverless

👨‍💻 Author

Mehedi


Made with ❤️ for Reeni App

About

Reeni app server, a MERN stack application to track borrowed and lent money with automated email reminders (backend)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages