An open API service indexing awesome lists of open source software.

https://github.com/parimartha27/ecommerce


https://github.com/parimartha27/ecommerce

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          



NestJS Logo

๐Ÿ”ง RentHub Backend API โ€“ Built with NestJS ๐Ÿง 


A modular, scalable backend system for a rental marketplace website built with โค๏ธ using NestJS and PostgreSQL



NestJS Version


Author


Database


Repo Size

---

## ๐Ÿ“ฆ About This Project

This is the **backend** for a rental marketplace platform that enables users to rent and manage various goods with ease. It's part of my journey to learn **NestJS** and back-end architecture using **TypeScript** in a real-world scenario. The project also integrates **TypeORM**, **PostgreSQL**, **DTOs**, and **environment-based configuration**.

> โœ… Built by [@parimartha27](https://github.com/parimartha27) as part of a full-stack learning experience.

---

## ๐Ÿš€ Quick Start

### 1. Install dependencies

```bash
pnpm install

# Development
pnpm run start:dev

# Production build
pnpm run start:prod

# Unit tests
pnpm run test

# End-to-end tests
pnpm run test:e2e

# Coverage
pnpm run test:cov

```

๐Ÿ› ๏ธ Tech Stack
โš™๏ธ NestJS โ€“ Progressive Node.js framework

๐Ÿ˜ PostgreSQL โ€“ Open-source SQL database

๐Ÿงฑ TypeORM โ€“ ORM for database management

๐ŸŽฏ TypeScript โ€“ Modern JavaScript with types

๐Ÿงช Jest โ€“ Testing framework

๐Ÿงฉ Modular Architecture โ€“ Scalable and maintainable codebase

src/
โ”œโ”€โ”€ config/ # Database and env configuration
โ”œโ”€โ”€ users/ # User module
โ”œโ”€โ”€ entity/ # TypeORM entities
โ”œโ”€โ”€ dto/ # Request/response DTOs
โ”œโ”€โ”€ interceptors/ # Global interceptors
โ””โ”€โ”€ app.module.ts # Root module

๐Ÿ“ฆ Deployment
If you want to deploy this to the cloud (like Vercel, Railway, or Render), make sure to:

โœ… Add environment variables in a .env file or platform config

โœ… Ensure your main.ts uses a proper adapter (e.g. FastifyAdapter for better performance)

โœ… Update production scripts

Check the official deployment docs for more tips.

๐Ÿ“š Learning Resources
๐Ÿ“˜ NestJS Documentation

๐Ÿงช NestJS Courses

๐Ÿ’ฌ NestJS Discord Community

๐Ÿ”Ž DevTools

๐Ÿš€ Mau Deploy on AWS

๐Ÿค Connect
๐Ÿ‘ค Author: @parimartha27

๐Ÿ“ฌ Feel free to submit issues, discussions, or contribute!

๐Ÿ“„ License
NestJS is MIT licensed.
This project is open-source and free to explore, modify, and contribute.