1
0
mirror of https://github.com/actix/examples synced 2024-11-24 23:02:59 +01:00
examples/graphql/juniper-advanced
Altug Sahin 8186a8cfea
fix broken links (#441)
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Altug Sahin <altugsahin@gmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-06 22:28:53 +01:00
..
src Upgrade juniper to 0.15 (#423) 2021-04-26 20:32:32 +09:00
.env.example Restructure folders (#411) 2021-02-26 00:57:58 +00:00
Cargo.toml Upgrade juniper to 0.15 (#423) 2021-04-26 20:32:32 +09:00
mysql-schema.sql Restructure folders (#411) 2021-02-26 00:57:58 +00:00
README.md fix broken links (#441) 2021-10-06 22:28:53 +01:00

juniper-advanced

GraphQL Implementation in Rust using Actix, Juniper, and Mysql as Database

Prerequisites

  • Rust Installed
  • MySql as Database

Database Configuration

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.

Run

# go to the root dir
cd graphql/juniper-advanced
cargo run

GraphQL Playground

http://127.0.0.1:8080/graphiql