Skip to content

tevzselcan/smvProjekt

Repository files navigation

SMV Backend

express     nestjs     nodejs     postgresql     nginx

Description

A NestJS backend application, for online school work. It allows creating and modifying subjects, assigning them students and teachers, creating and previewing assignments and student submissions, and saving and downloading their respective files.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

ENV files

Create a .env.development or .env.production using this template, based on your stage.

# Database
DATABASE_HOST=
DATABASE_PORT=
DATABASE_USERNAME=
DATABASE_PWD=
DATABASE_NAME=

# JWT
JWT_SECRET=
JWT_SECRET_EXPIRES=
JWT_REFRESH_SECRET=
JWT_REFRESH_SECRET_EXPIRES=

#Other
CORS_ORIGIN=

Routes

Route documentation available with SwaggerUI on port 8080.

  • users/
  • auth/
  • subjects/
  • assignments/
  • submissions/
  • me/

Features

  • Registration and login
  • Creating and editing users
  • Creating and editing subjects and assigning students and teachers
  • Creating and editing assignments
  • Creating and editing submissions
  • Saving and downloading files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages