/rust-microservice

experimentation with actix, tokio, postgres, barrel...

Primary LanguageRustThe UnlicenseUnlicense

What's this?

A repo with some experimentation with actix, tokio, postgres, diesel, juniper, ...

Refs:

Status: all very basic.

Build

cargo build

Database setup

In a separate terminal:

just run-postgres

Create database:

just db-create

Run service

just run-service

Test it

In a separate terminal:

just db-news-all
just db-news-add-some
just db-news <id>
just db-news-all
just db-news-delete <id>
just db-news-delete-all

initial setup

The initial commit in this repo was with an exact copy of rust-playground/rust-microservice (thanks Diego for the cool resources).