This project is used as a demo app that is runtime-controlled (feature toggled) by Unleash.
Get started with the following yarn commands:
# Install dependencies for frontend and backend
yarn
yarn install:backend
# Start frontend development server only
yarn dev
# Start backend development server only
yarn dev:backend
# Start both frontend and backend development servers
yarn dev:full
Alternatively, use a different package manager like npm
or pnpm
.
To build and run the application for production:
# Build both frontend and backend
yarn build:full
# Start the production server
yarn start
The backend will serve the static frontend files from the dist
directory and provide API endpoints at /api/*
.