This is a boilerplate for Rust projects. It includes a basic project structure, a Makefile for common tasks, and a Dockerfile for building and running the project in a container.
-
Generate server and client code from the OpenAPI spec:
rm -rf packages/gen-server && docker compose run --rm openapi-generator-cli
-
Build the project:
docker compose build app
You can build and run:
docker compose up app --build -d