This project serves as a template for building web services in Rust using the actix-web framework. It provides a basic structure and setup to kickstart your web service development.
- OpenTelemetry: emit traces in OTLP format to any OTel Collector.
- Prometheus: send metrics following the Open Metrics specification.
- config: configure settings using environment variables
To get started with your own project using this template, follow these steps:
- Customize the project for your needs:
- Add new routes following the example on routes/
- Configure environment variables or settings in settings.rs as per your requirements.
- Run the project:
docker-compose up -d
cargo run
Access your web service at http://localhost:7000 (by default).
This project is licensed under the MIT License.