https://github.com/odainasser/easy-saas
NestJS SaaS starter focusing on identity and security ⚡️🚀☁️
https://github.com/odainasser/easy-saas
api identity microservice nestjs saas starter typeorm
Last synced: 21 days ago
JSON representation
NestJS SaaS starter focusing on identity and security ⚡️🚀☁️
- Host: GitHub
- URL: https://github.com/odainasser/easy-saas
- Owner: odainasser
- License: other
- Created: 2024-03-29T22:54:23.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-07T17:03:25.000Z (about 1 year ago)
- Last Synced: 2025-10-26T16:59:20.042Z (5 months ago)
- Topics: api, identity, microservice, nestjs, saas, starter, typeorm
- Language: TypeScript
- Homepage:
- Size: 304 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Table of Contents
- [Description](#description)
- [Features](#features)
- [Tools](#tools)
- [Project Structure](#project-structure)
- [Setup Instructions](#setup-instructions)
## Description
EasySaaS is a starter repository for building SaaS applications using NestJS, with a focus on identity and security. It can also be used as an identity microservice in enterprise solutions.
## Features
- User authentication and authorization
- Role-based access control
- Secure password storage
- Multi-tenancy support
- Plans and subscription management
## Tools
- NestJS
- TypeORM
- Passport.js
- JWT
- bcrypt
- Jest
- Swagger
- PostgreSQL
- Redis
## Project Structure
The project structure is organized as follows:
```
easy-saas/
├── src/
│ ├── common/
│ │ ├── decorators/
│ │ ├── enums/
│ │ ├── filters/
│ │ ├── guards/
│ │ ├── interceptors/
│ │ ├── pipes/
│ │ └── utils/
| |
│ ├── config/
│ │ └── data-source.ts
| |
│ ├── db/
│ │ └── migrations/
│ │
│ ├── modules/
| |
│ ├── shared/
│ │ ├── dtos/
│ │ ├── entities/
│ │ └── interfaces/
│ │
│ ├── main.js
│ └── app.module.js
├── .env
├── package.json
├── tsconfig.json
└── README.md
```
## Setup Instructions
1. Clone the repository:
```sh
git clone git@github.com:odainasser/easy-saas.git
cd easy-saas
```
2. Install dependencies:
```sh
npm install
```
3. Run migrations:
```sh
npm run migration:run
```
4. Start the application:
```sh
npm run start
```