StudyPlus is a backend API built with the NestJS framework. This project provides a robust and efficient structure for managing study-related data.
StudyPlus is designed to manage study-related data effectively. This API supports various functionalities such as user authentication, data validation, and more, using the NestJS framework.
To install the necessary dependencies, run the following command:
$ npm installTo start the project, use the following commands:
- Development mode:
$ npm run start
- Watch mode:
$ npm run start:dev
- Production mode:
$ npm run start:prod
The following scripts are available in the package.json:
build: Builds the project using NestJS.format: Formats the code using Prettier.start: Starts the application.start:dev: Starts the application in watch mode.start:debug: Starts the application in debug mode.start:prod: Starts the application in production mode.lint: Lints the code using ESLint.test: Runs unit tests.test:watch: Runs unit tests in watch mode.test:cov: Runs tests and generates coverage reports.test:debug: Runs tests in debug mode.test:e2e: Runs end-to-end tests.
Key dependencies used in this project:
@nestjs/common@nestjs/core@nestjs/jwt@nestjs/passport@nestjs/platform-express@nestjs/swagger@prisma/clientbcryptclass-transformerclass-validatornodemailerpassport-jwtpassport-localreflect-metadatarxjs
To run the tests, use the following commands:
- Unit tests:
$ npm run test - End-to-end tests:
$ npm run test:e2e
- Test coverage:
$ npm run test:cov
Contributions are welcome! Please follow the contribution guidelines.
This project is licensed under the MIT License. See the LICENSE file for details.