COVER is a Canadian nonprofit website offering confidential support and resources for students and individuals navigating unsafe situations. This repo is the source for the public-facing site (Vite + React + TypeScript).
Option A — Clone with Git (recommended for development)
git clone https://github.com/saadixsd/cover.git
cd coverOption B — Download a ZIP
- Open https://github.com/saadixsd/cover.
- Click the green Code button → Download ZIP.
- Unzip the archive and open a terminal in the extracted
coverfolder.
You need Node.js 18+ (LTS is fine). If you use a version manager, nvm works well.
# Install dependencies
npm install# Start the dev server (hot reload)
npm run devThen open the URL shown in the terminal (usually http://localhost:5173).
No API keys or .env files are required for the standard static marketing site to run.
| Command | Purpose |
|---|---|
npm run build |
Production build → dist/ |
npm run preview |
Serve the production build locally |
npm run lint |
Run ESLint |
npm test |
Run tests (Vitest) |
This project includes a bun.lock file. If you use Bun, you can run bun install and bun run dev instead of npm.
- Vite — build tool and dev server
- React + TypeScript
- React Router
- Tailwind CSS + shadcn/ui
-
Clone or pull the latest
mainbranch. -
Create a branch for your work, or commit on
mainif you have access. -
After making changes:
git add . git commit -m "Describe your change" git push origin main
If git push asks for credentials, use a GitHub personal access token or SSH.