Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

💻 BACKEND

📘 Environment Variables

Create a .env file in the root of your backend project and add the following variables.
Each one is explained below.


🌥️ Cloudinary (For Image & Video Uploads)

  • CLOUDINARY_API_KEY — Your Cloudinary API key
  • CLOUDINARY_API_SECRET — Your Cloudinary secret key
  • CLOUDINARY_CLOUD_NAME — Your Cloudinary cloud name

Get them from:
🔗 https://cloudinary.com/console


🔒 JWT (Authentication)

  • JWT_SECRET — Secret key used to sign and verify user authentication tokens

🗄️ MongoDB (Database)

  • MONGODB_URI — Your MongoDB connection string

Get it from:
🔗 https://cloud.mongodb.com


💌 SMTP / Email (Nodemailer)

  • SMTP_FROM — Email address shown as sender
  • SMTP_HOST — SMTP host (e.g. smtp.gmail.com)
  • SMTP_PORT — SMTP port (e.g. 587 for TLS)
  • SMTP_USER — SMTP username (email)
  • SMTP_PASS — SMTP password or app password

Learn how to create Gmail App Passwords:
🔗 https://myaccount.google.com/apppasswords


🌐 Frontend & CORS

  • CORS_ORIGIN — Allowed frontend domain for API requests
  • FRONTEND_URL — URL of your frontend site

⚙️ Environment

  • NODE_ENV — Current environment mode (development or production)

🧰 Setup

npm install
npm run dev

About

A lightweight, fully responsive loan management web app for solo lenders. Create loans, track repayments, and monitor total cash flow—all in one clean, simple dashboard. Perfect for managing personal lending without spreadsheets.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages