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"
Gabriel Tanner
This project is licensed under the MIT License - see the LICENSE.md file for details