Skip to content

iDesoftSystems/f5a-services-example

Repository files navigation

F5a Services

This repository includes the sample code developed during the Web Service Development course, covering the following topics.

  • Module 1: Introduction to Web APIs and the Rust Ecosystem
  • Module 2: Axum - Creating Your First Web Server
  • Module 3: Axum - Handling HTTP Requests and Extracting Data
  • Module 4: Sea-ORM
  • Module 5: Developing a Complete CRUD RESTful API
  • Module 6: Enforcing Architecture
  • Module 7: Observability
  • Module 8: API Integration Testing
  • Module 9: API Documentation with OpenAPI (Swagger)
  • Module 10: CI Pipeline with GitHub Actions

Getting started from scratch

  1. Install Rust

  2. Install Docker

  3. Install just

    cargo install just

  4. Install sea-orm-cli

    cargo install sea-orm-cli

  5. Compose docker services

    just docker-compose

  6. Create an .envfile

    cp .env-example .env

  7. Run migrations

    just migrate-fresh

  8. Start the services

    just start