Files
arcadia/README.md
FrenchGithubUser cfe7155469 link formatting
2025-03-13 23:54:24 +01:00

868 B

arcadia-index

Arcadia's backend

arcadia-index is composed of two components:

  • The postgres database
  • The web server

Developper Setup

Required tools

Env

Copy .env to .env.local

Database

The recommended method is using docker:

docker-compose -f docker/postgres.yml up -d
sqlx migrate run

Launch server

cargo run

Database

Creating a migration file

TODO

Notes

  • The current auth mechanism relies on an actix extractor, which is the user provider. Everytime a handler accesses the current user, the authentication takes place. This might be replaced by a middleware in the future.