A graphql microservice container which is completely written with rust
DB: postgresql, diesel backend: juniper, actix-web
Install postgresql, docker and docker-compose
Clone this repository and run docker compose
git clone <git url>
cd rust-graphql-backend
docker-compose up
In browser, go to http://localhost:5001/graphiql
The cargo-watch
package will be running in the container so that the server automatically updates after changes in the project directory including DB and backend.
Prometheus is available at http://localhost:9090
Grafana is available at http://localhost:3000,
and the ID is admin
and PW is pass
.
For Grafana's plugins and server configuration, you can change it in docker-compose.yml.
Simply run docker-compose down
in the project root directory.
Make this into a progressive Rust framework for building efficient, reliable, and scalable server-side applications like Nest.