This is a REST API for a TodoList and Notes application. The API is built using Node.js, TypeScript, and MongoDB as a database. Zod is used for data validation, Jest for unit testing, and Supertest for integration testing.
Make sure you have Node.js and MongoDB installed on your system.
- Clone this repository
- Run
npm install
to install the dependencies - Create a
.env
file from.dist.env
:
cp .dist.env .env
- Run
npm run start
to start the server
To run the unit tests, run npm run test
.
- Node.js - JavaScript runtime
- TypeScript - Typed superset of JavaScript
- MongoDB - NoSQL database
- Zod - TypeScript-first schema validation
- Jest - Testing framework
- Supertest - HTTP assertion library
This project is licensed under the MIT License - see the LICENSE file for details.