rust-cult-graphql-server
rust-cult-graphql-server copied to clipboard
Using Actix-Web, Async-Graphql, and SQLX this is an example of a basic example of a Rust GraphQL Server. Inspired by a server which @lyuzashi, @channing-domain, @shyamo, and @wafs contributed to for a...
Without Docker compose
You will need to create a .env
file with the following.
DATABASE_URL=
This will need to be placed in the project root.
Make sure to migrate the db/init.sql
file into the postgres database you are using if you arent using docker.
Then cargo run
to run!
Lint: cargo fmt --all
With Docker Compose
docker-compose up --build