Skip to content

Repository files navigation

🏠 RentNest Backend API

TypeScript Node.js Express Prisma PostgreSQL

RentNest is a scalable rental property marketplace backend API built with modern backend technologies.

The platform allows landlords to publish and manage properties, tenants to request rentals, complete payments, and interact through reviews.

The project follows a modular architecture with secure authentication, role-based authorization, database relationships, validation, and payment integration.


🚀 Live Resources

GitHub Repository

REPOSITORY

Live API

LIVE

ERD Diagram

ERD

API Documentation

DOCUMENTATION


✨ Features

  • 🔐 JWT Authentication
  • 🍪 HTTP-only Cookie Authentication
  • 👥 Role-based Authorization
  • 🏡 Property Management
  • 📝 Rental Request Workflow
  • 💳 Stripe Payment Integration
  • ⭐ Review System
  • 📍 Location Management
  • 🌐 Social Profiles
  • ✅ Zod Validation
  • 🗄 Prisma ORM
  • 🐘 PostgreSQL
  • ⚠ Centralized Error Handling

🛠 Technology Stack

Backend

  • Node.js
  • Express.js
  • TypeScript

Database

  • PostgreSQL

ORM

  • Prisma ORM

Authentication

  • JWT
  • Cookie Parser

Validation

  • Zod

Payment

  • Stripe

📂 Project Structure

src
├── config
├── lib
├── middlewares
├── modules
├── routes
├── utils
├── app.ts
└── server.ts

⚙️ Installation

git clone https://github.com/devpolas/rent-nest-backend-api.git
cd rent-nest-backend-api
npm install

🔐 Environment Variables

ENV


Development

npm run dev

Production

npm run build
npm start

📚 API

Base URL

/api/v1

Modules:

  • Auth
  • Users
  • Properties
  • Rental Requests
  • Payments
  • Reviews
  • Categories
  • Amenities
  • Features
  • Rules
  • Locations
  • Social Profiles

Error Handling

Supports:

  • Zod Errors
  • Prisma Errors
  • JWT Errors
  • Validation Errors
  • Unknown Errors

Author

Polas Chandra Barmon

Full Stack Developer


License

ISC License

About

RentNest is a backend API for a rental property marketplace. Landlords can list properties, manage availability, and approve or reject rental requests. Tenants can browse listings, submit rental requests, and leave reviews. Admins oversee the entire platform, managing users and moderating content.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages