This repository contains a Node.js/Express.js version of the counter service for the Final Project of the Coursera course CI/CD Tools and Practices.
- RESTful API for managing counters
- In-memory storage
- Comprehensive error handling
- Security middleware (Helmet, CORS)
- Logging middleware
- Full test coverage with Jest
- Docker support
- Health check endpoint
GET /
- Service informationGET /health
- Health checkGET /counters
- List all countersPOST /counters/:name
- Create a new counterGET /counters/:name
- Read a specific counterPUT /counters/:name
- Increment a counterDELETE /counters/:name
- Delete a counter
- Install dependencies:
npm install