Files
thoth/frontend/README.md
Dylan Knutson 7e68568cf6
Some checks failed
CI / Check Style (push) Successful in 23s
CI / Run Clippy (push) Failing after 31s
CI / Run Tests (push) Failing after 34s
Initialize loco app
2024-11-30 13:25:15 -08:00

1.1 KiB

SaaS Frontend

Batteries included

  • TypeScript: A typed superset of JavaScript
  • Rsbuild: A Rust-based web build tool
  • Biome: A Rust-based formatter and sensible linter for the web
  • React: A JavaScript library for building user interfaces

If you don't like React for some reason, Rsbuild makes it easy to replace it with something else!

Development

To get started with the development of the SaaS frontend, follow these steps:

1. Install Packages

Use the following command to install the required packages using pnpm:

pnpm install

2. Run in Development Mode

Once the packages are installed, run your frontend application in development mode with the following command:

pnpm dev

This will start the development frontend server serving via vit

3. Build The application

To build your application run the following command:

pnpm build

After the build dist folder is ready to served by loco. run loco cargo loco start and the frontend application will served via Loco