https://github.com/parimartha27/ecommerce
https://github.com/parimartha27/ecommerce
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/parimartha27/ecommerce
- Owner: parimartha27
- Created: 2025-06-29T02:31:29.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-06-29T03:52:46.000Z (12 months ago)
- Last Synced: 2025-07-24T02:56:54.323Z (11 months ago)
- Language: TypeScript
- Size: 80.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
๐ง RentHub Backend API โ Built with NestJS ๐ง
A modular, scalable backend system for a rental marketplace website built with โค๏ธ using NestJS and PostgreSQL
---
## ๐ฆ 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.