mirror of
https://github.com/Arcadia-Solutions/arcadia.git
synced 2025-12-21 09:19:33 -06:00
868 B
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.