A progressive Node.js framework for building efficient and scalable server-side applications.
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.
-
Request Validation with Zod
The application uses Zod for validating incoming request bodies, ensuring data integrity and type safety. -
Authentication with Passport and JWT
Authentication is implemented using Passport.js, with support for JWT (JSON Web Tokens) for secure and stateless user authentication. -
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. -
Secure Password Management with bcrypt
User passwords are securely hashed using bcrypt, enhancing security and protecting sensitive user information. -
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. -
Comprehensive Testing with Jest
The application includes end-to-end testing using Jest, allowing developers to verify the application's functionality across various scenarios.
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!
$ yarn install
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod
# e2e tests
$ yarn run test:e2e