mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
Restructure folders (#411)
This commit is contained in:
committed by
GitHub
parent
9db98162b2
commit
c3407627d0
28
graphql/juniper-advanced/README.md
Normal file
28
graphql/juniper-advanced/README.md
Normal file
@ -0,0 +1,28 @@
|
||||
# juniper-advanced
|
||||
|
||||
GraphQL Implementation in Rust using Actix, Juniper, and Mysql as Database
|
||||
|
||||
# Prerequites
|
||||
- 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
|
||||
|
||||
|
||||
```sh
|
||||
# go to the root dir
|
||||
cd juniper-advanced
|
||||
|
||||
# Run
|
||||
cargo run
|
||||
```
|
||||
|
||||
### GraphQL Playground
|
||||
|
||||
http://127.0.0.1:8080/graphiql
|
Reference in New Issue
Block a user