Simple and Convenient Todo Development API Using Next.js and MongoDB
This project provides a straightforward and user-friendly API for developing Todo applications. It is built on the Next.js framework, leveraging MongoDB as the database for efficient data storage and retrieval. This setup ensures a seamless development experience, allowing for quick integration and manipulation of todo items within your application.
- Auth
- login, registration, email acctivation
- User
- update user, change passwrod, forgot password
- Todo
- create, delete, update, order
- Task
- create, delete, update, order
Note
Swagger documentation is implemented for this project and can be accessed at http://localhost:4221
when the server is running locally. Alternatively, you can view an example of the documentation by following the provided link. Please ensure your local development environment is set up correctly and the server is running to access the Swagger UI at the specified local address.
Open a Terminal in the project root and run...
- Clone the repository to your local machine.
- Navigate to the project directory and install the necessary dependencies:
yarn install
Important
You need to rename the .env.example
file to .env
and fill in the settings according to your application's requirements. This includes specifying all necessary environment variables such as database connection strings, API keys, secrets, and any other configurations that your application uses to operate.
- Start the development server:
yarn start:dev
- Access the API endpoints through http://localhost:3000/api
Contributions are welcome! If you have suggestions for improving this API or want to report a bug, please feel free to open an issue or submit a pull request.
This project is released under the MIT License. Please refer to the LICENSE file for more details.