A RESTful API built with Node.js, Express, and MongoDB for managing contacts.
- Create new contacts
- Retrieve contact by ID
- List all contacts
- RESTful architecture
- Type-safe implementation with TypeScript
- MongoDB integration for persistent storage
- Comprehensive test coverage with automated tests
- Runtime: Node.js
- Framework: Express.js
- Database: MongoDB with Mongoose ODM
- Language: TypeScript
- Environment Variables: dotenv
Clone the repository to your local machine.
Run the application with:
- npm install
- npm run dev, for server start
- npm run test:watch, for all tests with coverage report
- add credentials for .env file (needs database connection string not provided)