Published on the actix/examples repository
GraphQL Implementation in Rust using Actix, Juniper, and Mysql as Database
- Rust Installed
- MySql as Database
Create a new database for this project, and import the existing database schema has been provided named mysql-schema.sql
.
Create .env
file on the root directory of this project and set environment variable named DATABASE_URL
, the example file has been provided named .env.example
, you can see the format on there.
# go to the root dir
cd actix-graphql-demo
# Run
cargo run