Example API built with Node.js, TypeScript, and Fastify, focused on clean architecture and integration with Prometheus and Grafana for metrics collection and visualization.
-
Clone the repository:
git clone https://github.com/rdrigos/node-api-example.git cd node-api-example
-
Start the environment with Docker Compose:
docker-compose up --build
-
Access the services:
-
API Fastify: http://localhost:3333
-
Prometheus: http://localhost:9090
-
Grafana: http://localhost:3000
Default login: admin / admin (Change it after the first login)