Skip to content

minhtrifit/slearninglab-server

Repository files navigation

SLEARNING LAB SERVER DOCUMENTATION

Thumbnail

🎓 📚 Education & Learning support project app inspired from Google classroom

This project includes two repository (Client and Server), you can checkout client repository

💻 Technical Stack

nestjs postgresql

  • Nest.js - A progressive Node.js framework for building efficient, reliable and scalable server-side applications.
  • PostgreSQL - The World's Most Advanced Open Source Relational Database

⚙️ Config .env file

Config .env file in root dir with path ./.env

CLIENT_URL=yourclienturl
DB_HOST=yourdbhost
DB_PORT=yourdbport
DB_USERNAME=yourdbusername
DB_PASSWORD=yourdbpassword
DB_NAME=youdatabasename
JWT_KEY_SECRET=yourjwtkey
JWT_ACCESS_KEY=youraccesskey
JWT_REFRESH_KEY=yourrefreshkey
AUTH_EMAIL_USER=youremail@gmail.com
AUTH_EMAIL_PASSWORD=youremailpassword

📦 Installation

Intall packages & dependencies

npm install

Or install packages with legacy peer dependencies.

npm install --legacy-peer-deps

Run server project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test server project

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Run server project with Dockerfile

$ docker run -p 5500:5500 slearninglab-api:1.0.0

▶️ YouTube Demo

Thumnail

💌 Contact

CopyRight© minhtrifit

About

Server Reposetory For SlearningLab Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors