nixin-farm/nixin_farm/frontend
2024-10-16 20:03:38 +02:00
..
src starter app (loco new) 2024-10-16 20:03:38 +02:00
.gitignore starter app (loco new) 2024-10-16 20:03:38 +02:00
biome.json starter app (loco new) 2024-10-16 20:03:38 +02:00
package.json starter app (loco new) 2024-10-16 20:03:38 +02:00
README.md starter app (loco new) 2024-10-16 20:03:38 +02:00
rsbuild.config.ts starter app (loco new) 2024-10-16 20:03:38 +02:00
tsconfig.json starter app (loco new) 2024-10-16 20:03:38 +02:00

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