This repository serves as a learning project for exploring the fundamentals of Nest.js. The project focuses on building a REST API for a simple task manager. Here's a brief overview of its features:
-
User Authentication: Users can create accounts and log in, with authentication processes handled by JWT (JSON Web Tokens) and Passport.
-
Task Management: Authenticated users can perform various actions related to task management, including:
- Creating tasks
- Changing task statuses
- Retrieving tasks by ID
- Deleting tasks
- Nest.js: The main framework for building scalable and efficient server-side applications.
- JWT (JSON Web Tokens): Used for secure user authentication.
- Passport: A middleware for handling authentication in Node.js applications.
- Joi: A library for schema validation, ensuring data integrity and security.
- bcrypt: Used for secure password hashing.
- TypeORM: An Object-Relational Mapping (ORM) library for TypeScript and JavaScript, working with databases.
A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# unit tests
$ yarn run test
# e2e tests
$ yarn run test:e2e
# test coverage
$ yarn run test:cov
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.