GraphQL backend for a multimedia dictionary
dictionariesdictionarydieseldiesel-rsgraphqlgraphql-serverjuniperjuniper-rslinguisticsrocketrocket-rsrust
Lucien Cartier-Tilet
5c199e2628
Languages now refer to other languages they are translated to through an additional table rather than an array of identifiers. This ensures no orphan identifier remains when a language is deleted. The primary key of languages is now a unique identifier rather than the name of the language itself. It now allows for multiple languages to have the same name. Their unique identifier is now a v4 UUID. Set Diesel to specific version 2.0.2, since 2.0 apparently does not mean the latest version of 2.0.z and 2.0 has issues with its uuid feature. Cleanup and simplify some code. Some more GraphQL documentation on available queries. |
||
---|---|---|
migrations | ||
src | ||
.editorconfig | ||
.env.example | ||
.gitignore | ||
Cargo.toml | ||
diesel.toml | ||
docker-compose.yml | ||
LICENSE | ||
README.org |
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