Welcome to the backend API for todo. This API is built using NestJS, a powerful and extensible Node.js framework. It provides a solid foundation for building scalable and maintainable server-side applications.
Before you begin with the NestJS project, ensure you have the following prerequisites installed:
-
Node.js and npm: NestJS is built on top of Node.js, so you need to have Node.js installed. npm, the Node.js package manager, is used to manage dependencies.
Make sure to install a version that is compatible with NestJS
-
Database:
-
NestJS CLI: The NestJS Command Line Interface (CLI) is a powerful tool for scaffolding and managing NestJS projects. Install it globally using the following command:
npm install -g @nestjs/cli
Follow these steps to set up the NestJS project on your local machine:
- Clone the Repository:
git clone https://github.com/bbazina/simple_todo.git navigate to folder cd simple_todo npm install
Before running the NestJS application, make sure to configure the necessary settings. This usually involves setting up environment variables and adjusting configuration files.
- Copy Configuration File:
Copy the
.env.example
file in the project root to create a new.env
file.cp .env.example .env
npm run start
npm run test