This is the frontend for the Senior Citizen Recreation Centre website, built with React, TypeScript, and Vite.
https://scrcr-frontend.vercel.app
To run this locally or on Vercel, ensure you have the following environment variable set:
VITE_API_BASE: The URL of the backend API (e.g.,https://scrcr-backend.vercel.apporhttp://localhost:8081for local dev).
- Install dependencies:
npm install
- Run the development server:
npm run dev
This project is deployed on Vercel. It is configured to build automatically when changes are pushed to the main branch.
- Build Command:
npm run build - Output Directory:
dist - Node Version: 18.x (Pinned in
package.jsonengines)