/mhb-server

Primary LanguageRustMIT LicenseMIT

This (WIP) project is a refactor of my previous MyHomeBoard backend which was written in Typescript.

Development

Run locally:

  1. Install Shuttle with cargo:
    cargo install cargo-shuttle
  2. Run the server locally with Shuttle (Shuttle will setup a database):
    cargo shuttle run

Run integration tests:

  1. Start a local Docker postgres service:
    cargo make docker up -d
  2. Run tests:
    cargo test -- --nocapture