A Rust GraphQL API with actix-web, juniper, diesel and dataloader
Just run, and wait for a while since the initial compilation is slow...
docker-compose up -d
but after the start the graphql api will be accessible at http://localhost:8080/ you can access a playground at http://localhost:8080/graphql_playground
Consider that for running the project in development mode you should use these commands for starting the database and the Container for building and starting the application.
docker-compose build
docker-compose up -d db
docker-compose run api bash
diesel migration run
cargo build
cargo run
For running in the production mode just execute the command:
docker-compose up -d