Skip to content

Repository files navigation

Exercise AXA

CI

A production-ready Flask application with RESTful API, PostgreSQL database, and observability (Prometheus + Grafana).

Features

  • RESTful API for CRUD operations.
  • PostgreSQL database with SQLAlchemy ORM.
  • Structured logging with structlog.
  • Prometheus metrics and Grafana dashboards.
  • Dockerized for easy deployment.

Setup

  1. Clone the repository:

    git clone https://github.com/Barsun/exercise-axa.git
    cd myapp
  2. Set up environment variables in .env

    DATABASE_URL=postgresql://user:password@db:5432/mydatabase
    SECRET_KEY=your_secret_key
    
  3. Start the services:

    docker compose up --build
  4. Access the services:

  5. Observability

API Documentation

About

AXA code exercise

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages