GraphQL backend for a multimedia dictionary
Go to file
Lucien Cartier-Tilet 05ca82c4e1
All checks were successful
continuous-integration/drone/push Build is passing
Move context to new file, add to context if user is authentified
2023-01-15 18:10:51 +01:00
migrations Change Serials to UUIDs, fix translation table 2023-01-08 15:58:26 +01:00
src Move context to new file, add to context if user is authentified 2023-01-15 18:10:51 +01:00
.drone.yml Add Drone CI 2023-01-08 17:42:56 +01:00
.editorconfig Add .editorconfig file 2023-01-03 16:24:40 +01:00
.env.example Add CORS and authorized origins to server 2023-01-04 14:42:55 +01:00
.gitignore Initial commit with basic DB layout 2023-01-03 15:16:10 +01:00
Cargo.toml Fragment graphql module, add Appwrite vars to context 2023-01-15 17:36:32 +01:00
diesel.toml Make Rust models for database schema 2023-01-03 16:11:43 +01:00
docker-compose.yml Initial commit with basic DB layout 2023-01-03 15:16:10 +01:00
LICENSE Add license and README 2023-01-03 16:20:31 +01:00
README.org Gitea complaining about ambiguous characters 2023-01-04 19:33:29 +01:00

Ordabok

Introduction

Ordabok is a backend for multimedia dictionaries powered by its users.

Compiling and running the project

This project requires an accessible PostgreSQL database (to store pretty much all of the project's data), an Appwrite instance (for managing user accounts), and an S3 bucket (to store images, videos, and audio). Copy .env.example with

$ cp .env.example .env

and modify the .env file accordingly. You will also need to set the variables for Appwrite and your S3 bucket.

Once this is done, execute the following command to run the backend.

$ cargo run
# or
$ cargo run --release

License

This project is under the AGPL 3.0 license. You can read the complete text here, and if you just want a quick understanding of it, you can go here.