Nestjs Typeorm Auth Save Abandoned

NestJS + Typeorm codebase containing a full authentification system with roles, sessions and email verification.

Project README

Nestjs-Typeorm-Auth

NestJS + Typeorm codebase containing a full authentification system with roles, sessions and email verification. It also contains a frontend which is written in Vuejs and shows a sample use of this Authentification API


Getting started

Installation

Clone the repository

git clone https://github.com/TannerGabriel/Nestjs-Typeorm-Auth.git

Switch to the repo folder

cd Nestjs-Typeorm-Auth

Installing dependencies and starting the servers

Backend:

cd backend
npm install
npm run start

Frontend:

cd client
npm install
npm run serve

The backend needs to be configurated using a .env file which needs to hold the following parameters.

# Password encryption
SECRET_KEY=

# Database settings
DB_TYPE=
DB_HOST=
DB_NAME=
DB_PORT=
DB_USER=
DB_PASSWORD=

# Email settings https://nodemailer.com/about/
# Free SMTP accounts https://ethereal.email/
EMAIL_HOST=
EMAIL_PORT=
EMAIL_SECURE=
EMAIL_USER=
EMAIL_PASSWORD=

# General
PORT=3000
URL="localhost"

Author

Gabriel Tanner

Support me

Buy Me A Coffee

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Open Source Agenda is not affiliated with "Nestjs Typeorm Auth" Project. README Source: TannerGabriel/Nestjs-Typeorm-Auth
Stars
42
Open Issues
40
Last Commit
1 year ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating