Welcome to the official Front-end repository of our Capstone team —
clean code, smooth workflow, good vibes. 🚀
🔗 Download: https://github.com/coreybutler/nvm-windows/releases
Download and install nvm-setup.exe
Run:
- nvm install latest
git clone https://github.com/Capstone-The-Return/Front-end.git
cd Front-end/Electo_vite
npm install
npm install json-server --save-dev
npx json-server --watch db/db.json --port 4000
npm run dev
🎉 App runs at: http://localhost:5173
-- Run docker ("Cloud") install: https://docs.docker.com/desktop/setup/install/windows-install/
docker build -f Dockerfile.localdev -t frontend-dev .
docker run -p 5173:5173 frontend-dev
✔ Everyone works on their own branch
❌ No direct commits to dev or main
feature/[page-or-component]
bugfix/[short-description]
hotfix/[critical-fix]
Examples:
- feature/login-page
- feature/voting-dashboard
- bugfix/navbar-overflow
Format:
[USECASE-ID] - short description
Examples:
UC-04 - Implement user registration form
UC-12 - Fix sidebar hover effect
UC-19 - Add dark mode toggle
Rules:
✔ Must include Use Case ID
✔ Keep messages short & meaningful
✔ One commit = one logical change
✔ No committing generated files
✔ PRs must target dev
✔ Include a clear summary
✔ UI changes must include screenshots
✔ Needs 1 approval
✔ Always pull latest dev before creating PR
git pull origin dev
src/
├─ components/
├─ pages/
├─ styles/
└─ utils/
🏗️ No new folders without team approval.
- Announce when starting a task
- Share your branch when you push
- Open PRs early
- Ask for help when stuck
- Respect feedback
❤️ Open, kind, respectful communication — always.
Before coding:
git pull origin dev
Create your branch:
git checkout -b feature/my-cool-feature
Workflow:
Write code → Commit → Push
Open PR → Request review
Merge into dev after approval
We are a passionate Capstone team building a clean, modern, and efficient election-related platform.
Values:
✨ Collaboration
✨ Clarity
✨ Respect
✨ Ownership
✨ Learning
We don’t just write code —
we build, discuss, debate, learn, experiment, fail, improve, succeed… together.
Thank you for contributing to this project!
Let’s keep the code clean, communication open, and collaboration smooth.