monorepo-typescript-rust
monorepo-typescript-rust copied to clipboard
a monorepo project using pnpm workspaces, next, vite, rust and turborepo
PNPM Typescript Rust Monorepo
Pnpm workspaces based monorepo with essential configs and things.
Info -
- Athena - Frontend Vite App
- Gaia - Backend Rust Server using actix-web
- Hera - Frontend NextJS App
- Libs/Ui - Simple UI components
- Libs/Logger - Logger can be added
All packages/apps needs to be started with @core
/package-name in order to keep them inside the scope.
Installation
pnpm install
To run the @gaia crate
cargo install cargo-watch
Usage
Athena - Frontend Vite App
- Directly
pnpm athena dev
- Through Turborepo
pnpm athena:dev
Hera - Frontend NextJS App
- Directly
pnpm hera dev
- Through Turborepo
pnpm hera:dev
Gaia - Backend Rust Server using actix-web
-
Directly
pnpm gaia:dev
Want to run other commands for some specific package?
pnpm <package> <command>
Example -
Run lint in Athena
pnpm athena lint