Skip to content

chervonoderevnyk/Final.Project.SchoolData

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository. https://docs.nestjs.com/ documentation of the Nestjs

Installation

$ npm install

If the nestjs is not instelled on the computer 
$ npm install -g @nestjs/cli

Be sure to check the version of "@nestjs/common" and "@nestjs/core". It should be "^8.0.0". 
If version : "^9.0.0" is automatically installed: uninstall exit 
$ npm uninstall @nestjs/common^9.0.0
$ npm uninstall @nestjs/core^9.0.0
And install version 8
$ npm install @nestjs/common^8.0.0
$ npm install @nestjs/core^8.0.0

Information on Prisma integration

bash https://docs.nestjs.com/recipes/prisma

Applications (orders) received from the database

bash mysql: https://drive.google.com/file/d/1_5elESLEi3Lb_QFgDoo2NNsiP-n5O0Ow/view? usp=sharing

Folder Structure:

prisma:

migrations: Prisma Migrate generates SQL migration files for your declarative data model definition in the Prisma schema.

schema.prisma: Table for the database.

src:

auth: Everything you need to register, log in and guard.

change-password: Method for changing the password in a user's account.

comments: This is where the comments are served.

core: General purpose files for the project are placed here. Folder 'orm': contains prisma.service. The 'validations' folder: validation checks. Folder 'mail': implementation of message logic.

groups: This is where the groups are served.

orders: Serving the module: 'orders' entity through the 'CRUD' script.

users: Serving the module: 'users' entity through the 'CRUD' script.

main: The central file from which the API is launched.

templates: Templates for creating stylized messages.

Final-Project.postman_collection.json: Collection of the Postman json format.

Running the app

# watch mode
$ npm run start:dev

Postman

In file 'Final-Project.postman_collection.json' contains a working collection of request for the project

The documentation of this project is available:

SWAGGER UI: http://localhost:3006/api/doc

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages