dictionariesdictionarydieseldiesel-rsgraphqlgraphql-serverjuniperjuniper-rslinguisticsrocketrocket-rsrust
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone Build is failing
Details
|
4 months ago | |
---|---|---|
migrations | 4 months ago | |
src | 4 months ago | |
.drone.yml | 5 months ago | |
.editorconfig | 5 months ago | |
.env.example | 5 months ago | |
.gitignore | 5 months ago | |
Cargo.toml | 5 months ago | |
LICENSE | 5 months ago | |
README.org | 5 months ago | |
diesel.toml | 5 months ago | |
docker-compose.yml | 5 months ago |
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
This makes the API available at http://localhost:8000/
, with only
three paths:
-
http://localhost:8000/
- GraphiQL interface
-
GET http://localhost:8000/graphql?query=:query
GET
queries for the GraphQL API. However, it does not work due to this issue.-
POST http://localhost:8000/graphql
POST
queries for the GraphQL API.