A Rust-based web service using Axum framework.
- Web Framework: Axum
- Database: PostgreSQL with connection pooling
- Authentication: Firebase Auth
- Logging: Tracing
- CORS support
- Environment variable management
- Rust (latest stable version)
- PostgreSQL
- Firebase project (for authentication)
- Clone the repository
- Copy
.env.exampleto.envand update the values - Install dependencies:
cargo build
- Run the service:
cargo run
The service will be available at http://localhost:3000
- The project uses
tracingfor logging - Environment variables are managed through
.envfile - CORS is enabled for development (configure as needed for production)
MIT