This is a turborepo starter that does the following:
- Sets up a nextjs frontend in
apps/fe
- Sets up a Rust backend in
apps/be
. This rust backend uses sqlx + poem + poem-openapi
This Turborepo includes the following packages/apps:
fe
: a Next.js app with Mantine and Tailwind.css.be
: a Rust app with Poem,Poem-OpenAPI and SQLXui
: a stub Mantine component library.eslint-config-custom
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)tsconfig
:tsconfig.json
s used throughout the monorepotypes
: Rust library using Typeshare to share type logic betweenbe
and the typescript apps. One source of truth for your types.
Each package/app is 100% statically typed.
Do use 100% of the stuff provided in this repo, you need the following installed:
- Rust
- pnpm
- sqlx-cli
- typeshare-cli
This is a non-exhaustive list. More stuff might be required. 🤷🏾♂️
To build all apps and packages, run the following command:
cd my-turborepo
pnpm build
To develop all apps and packages, run the following command:
cd my-turborepo
pnpm dev