A self-assessment quiz app based on the Clean Sweep program. Answer 100 questions across categories like Environment, Health, Money, and Relationships to identify areas of your life worth paying more attention to.
npm install
npm run devThe app runs at http://localhost:3000.
| Command | Description |
|---|---|
npm run dev |
Start the Vite dev server |
npm run build |
Build for production (outputs to build/) |
npm run preview |
Preview the production build locally |
npm run lint |
Run ESLint on source files |
npm run lint:fix |
Auto-fix lint issues |
- 100 questions across 4 categories
- Progress bar with question counter
- Quiz state is saved to localStorage automatically -- close the browser and pick up where you left off
- Light and dark mode toggle with preference saved across sessions
- CSV export of results
- Category breakdown with scores and percentages
- React with React Router
- Bulma CSS framework
- Vite build tool
The repo includes a netlify.toml with the build configuration:
- Build command:
npm run build - Publish directory:
build - SPA redirects: All routes fall through to
index.html
To deploy:
- Push the repo to GitHub
- Connect the repo in Netlify
- Netlify will auto-detect the settings from
netlify.tomland deploy
Alternatively, deploy manually with the Netlify CLI:
npm run build
npx netlify-cli deploy --prod --dir=buildMIT