Skip to content

ws-rush/reactive

Repository files navigation

Reactive - Opinionated Vite Starter Template

Mocking up web app with Reactive


Live Demo Docs


Features


Try it now!

Reactive requires Node >=20.x

GitHub Template

Create a repo from this template on GitHub.

Clone to local

If you prefer to do it manually with the cleaner git history

npx degit ws-rush/reactive my-reactive-app
cd my-reactive-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm

Checklist

When you use this template, try follow the checklist to update your info properly

  • Remove the .github folder
  • Clean up the READMEs and remove routes
  • Remove tests and write your own

And, enjoy :)

Usage

Development

Just run and visit http://localhost:5173

pnpm dev

Build

To build the App, run

pnpm build

And you will see the generated file in dist that ready to be served.

Container Production Build

First, build the reactive image by opening the terminal in the project's root directory.

## SPA build
podman build -t reactive-spa -f apps/web/Containerfile.spa apps/web

## MPA build
podman build -t reactive-mpa -f apps/web/Containerfile.mpa apps/web

Run the image and specify port mapping with the -p flag.

## SPA run
podman run --rm -p 8080:80 reactive-spa:latest

## MPA run
podman run --rm -env-file apps/web/.env -p 3000:3000 reactive-mpa:latest

Why

Configure apps is a headeach, I loved vitesse template for vue, so I decided do one for react.

About

Mocking up web app with Reactive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published