Skip to content

kaasbroodju/leveling-education-framework

 
 

Repository files navigation

Leveling Education Framework

Better navigation for HBO-I Domeinbeschrijving and Open-ICT Vaardigheden.

Built with Rust, Rocket and Tidos.

Running locally

cargo run

Updating content

Content lives in /app/data as JSON files. Edit the relevant file and redeploy to update vaardigheden, HBO-I competenties, or beroepsproducten.

Environment variables

Name Example Description
HOSTS localhost, lef.open-ict.hu.nl Comma-separated list of hosts that Caddy generates HTTPS certificates for

Copy .env-example to .env and fill in the values before deploying.

Running in production

  1. Copy .env-example to .env and edit the values.
  2. Create the shared Docker network: docker network create caddy
  3. Start Caddy: docker compose -f docker-compose.caddy.yml --env-file .env up -d
  4. Start the application: docker compose --env-file .env up -d

Watchtower automatically pulls and restarts the container when a new image is published to Docker Hub.

Contributing

We love your input! Whether it's:

  • Reporting a bug
  • Discussing the current state of the code
  • Submitting a fix
  • Proposing new features

We use GitHub to host code, track issues, and accept pull requests via GitHub Flow:

  1. Fork the repo and create your branch from main.
  2. Make your changes.
  3. If you've changed the API, update this documentation.
  4. Open a pull request and target the main branch.

Report bugs via GitHub Issues.

License

By contributing, you agree that your contributions will not be licensed and you lose all rights to your code.

API

The API is available under /api/v1.

GET /api/v1/hboi

Returns all HBO-I competenties.

Response

{
  "<architectuurlaag> <activiteit>": {
    "1": { "title": "string", "info": "string | null" },
    "2": { "title": "string", "info": "string | null" },
    "3": { "title": "string", "info": "string | null" },
    "4": { "title": "string", "info": "string | null" }
  }
}

GET /api/v1/vaardigheden

Returns all Open-ICT vaardigheden.

Response

{
  "<vaardigheid>": {
    "1": { "title": "string", "info": "string | null" },
    "2": { "title": "string", "info": "string | null" },
    "3": { "title": "string", "info": "string | null" },
    "4": { "title": "string", "info": "string | null" }
  }
}

GET /api/v1/beroepsproducten

Returns all beroepsproducten voorbeelden.

Response

[
  {
    "architecture_layer": "string",
    "activity": "string",
    "guild": "string",
    "title": "string"
  }
]

About

Better navigation for hbo-i domeinbeschrijving and Open-ICT Vaardigheden

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 61.5%
  • JavaScript 22.0%
  • CSS 15.2%
  • Dockerfile 1.1%
  • Makefile 0.2%