Skip to content

engylemure/rust-graphql-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-graphql-with-dataloader

A Rust GraphQL API with actix-web, async-graphql, diesel and dataloader

Starting

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/ in POST you can access a playground at http://localhost:8080/ GET

Development

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.

Initial build for the Images.

docker-compose build

Initialize the Database

docker-compose up -d db

Initialize the API container attaching the bash command

docker-compose run api bash

Production

For running in the production mode just execute the command:

docker-compose up -d 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published