A mobile-first web application for tracking social event points across TSE project teams. Teams earn points when members attend socials. This app handles submissions, admin review, and live standings.
| Stack | Technology |
|---|---|
| Frontend | Next.js 16 + TypeScript + Tailwind CSS |
| Backend | Express.js + TypeScript |
| Database | MongoDB |
| Linting | ESLint + Prettier |
| Git Hooks | Husky + Secret Scanner |
Before running the project, make sure you have:
- Node.js v18+
node --version# should show v18.0.0 or higher
- npm v9+
npm --version# should show v9.0.0 or higher
- MongoDB (for local development)
git clone https://github.com/TritonSE/test-dev-project-SP26.git
cd test-dev-project-SP26cd backend
npm installcd frontend
npm installcd backend
npm run devBackend runs on:
http://localhost:3001
cd frontend
npm run devFrontend runs on:
http://localhost:3000
IMPORTANT: Never remove anything from .gitignore. It prevents .env files and other sensitive files from being pushed to GitHub.
.
├── backend/ # Express + TypeScript API
├── frontend/ # Next.js + TypeScript app
└── .github/ # GitHub templates and actions
- All PRs require at least 1 approval
- Follow the PR template before submitting
- Run lint checks before committing:
npm run lint-fix # auto-fixes lint errors and reformats code — run before opening a PR
npm run lint-check # checks for errors without modifying files — used by CI
npm run format # reformats code only, no lint checkgit checkout main
git pull origin main
git checkout -b feature/your-feature-name
git add .
git commit -m "feat: add submission form"
git push -u origin feature/your-feature-name
- Fill out the PR template
- Request a reviewer
- Wait for CI checks to pass