Skip to content

feniljariwala82/nestjs-todo

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 Donate us Support us Follow us on Twitter

Todo Application - NestJS

This is a Todo Application built using the NestJS framework, incorporating modern development practices to ensure scalability, maintainability, and security. It provides a robust backend foundation for managing todo items with features like authentication, validation, and testing.

Features

  1. Request Validation with Zod
    The application uses Zod for validating incoming request bodies, ensuring data integrity and type safety.

  2. Authentication with Passport and JWT
    Authentication is implemented using Passport.js, with support for JWT (JSON Web Tokens) for secure and stateless user authentication.

  3. Database Integration with TypeORM
    The application leverages TypeORM as the ORM to interact with a relational database. It supports migrations and provides an efficient way to handle entities and database queries.

  4. Secure Password Management with bcrypt
    User passwords are securely hashed using bcrypt, enhancing security and protecting sensitive user information.

  5. Environment Variable Validation with Joi
    Configuration is managed using Joi to validate environment variables, ensuring that the application starts with all required settings properly defined.

  6. Comprehensive Testing with Jest
    The application includes end-to-end testing using Jest, allowing developers to verify the application's functionality across various scenarios.

Getting Started

Clone the repository and refer to the setup instructions in the documentation to run the application locally. Contributions and suggestions are welcome!

Feel free to customize this template further based on your repository's specifics or additional features!

Project setup

$ yarn install

Compile and run the project

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Run tests

# e2e tests
$ yarn run test:e2e

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published