nixin-farm/nixin_farm_ssr/frontend
2024-10-16 20:50:41 +02:00
..
src Add server side rendering version of the app 2024-10-16 20:50:41 +02:00
.gitignore Add server side rendering version of the app 2024-10-16 20:50:41 +02:00
biome.json Add server side rendering version of the app 2024-10-16 20:50:41 +02:00
package.json Add server side rendering version of the app 2024-10-16 20:50:41 +02:00
README.md Add server side rendering version of the app 2024-10-16 20:50:41 +02:00
rsbuild.config.ts Add server side rendering version of the app 2024-10-16 20:50:41 +02:00
tsconfig.json Add server side rendering version of the app 2024-10-16 20:50:41 +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