Trackence is a full-stack attendance management platform with real-time QR-based check-ins, role-based access, secure session handling, and analytics dashboards for institutions and organizations.
- Real-time QR attendance marking
- Role-based flows for admin and member
- Session lifecycle management (create, monitor, expire)
- Attendance and absence reporting
- Organization-aware user management
- Live updates with Socket.IO
- Modern responsive frontend with Framer Motion and Tailwind CSS
- React 19 + TypeScript
- Vite
- Tailwind CSS
- Framer Motion
- Zustand
- Axios
- Socket.IO Client
- Node.js + TypeScript
- Express 5
- MongoDB (Mongoose)
- Redis
- Socket.IO
- JWT auth
- Winston logging
Trackence/
client/ # React + Vite frontend
server/ # Express + MongoDB + Redis backend
- Node.js 24.13.0 LTS (recommended)
- npm 10+
- MongoDB running locally or remotely
- Redis running locally or remotely
git clone <your-repo-url>
cd Trackence
cd client
npm install
cd ../server
npm installCopy and edit example env files in both apps:
client/.env.exampleserver/.env.example
For SEO and canonical URLs, ensure client has VITE_SITE_URL set to your live frontend domain.
Recommended:
- Keep secrets only in local
.env.*files - Do not commit production secrets
Terminal 1 (backend):
cd server
npm run devTerminal 2 (frontend):
cd client
npm run devFrontend:
cd client
npm run build
npm run previewBackend:
cd server
npm run build
npm startnpm run dev- start Vite dev servernpm run build- type-check and buildnpm run lint- run ESLintnpm run preview- preview production build
npm run dev- start backend with watch modenpm run build- compile TypeScriptnpm start- run compiled backendnpm run seed- seed initial datanpm run smoke- run basic API smoke checks againstAPI_BASE_URL(defaults tohttp://localhost:5000)npm test- run tests
- Client and server maintain separate
.gitignorefiles. - Redis authentication is supported through server env configuration.
- If frontend cannot reach backend, verify API base URL and CORS settings.
See server/package.json for backend license metadata.