A modern gym & fitness platform website for Dev Fitness — with branches across Vadodara and Ahmedabad, Gujarat. Built by Jainam H. Maru (Dev9269) · © 2026.
The site includes a fully working lead capture system: visitors who want to join a gym fill in a form, and the submission is stored by a Node.js backend.
🔗 https://dev9269.github.io/
Note: GitHub Pages hosts the static frontend. The lead form's backend (
/api/leads) runs locally (or on any Node host like Render) — see Deployment.
- 🏋️ Hero section — animated stats counters (workouts logged, gym partners, members)
- 🎬 Video section — YouTube workout video with click-to-play embed
- 💪 Services — workout plans, diet plans, personal training, progress tracking
- 📋 Plan selector — interactive Diet / Workout / Both plan chooser
- 🎯 Transformations — before/after results gallery
- ⭐ Testimonials — member reviews
- 📍 Gym Finder — 8 Dev Fitness branches (4 Vadodara + 4 Ahmedabad), each with a live embedded Google Map; click a branch to switch the map
- 📝 Lead form — Name / Phone / Email / Service / Branch → saved to backend
- 🎨 Branding — custom DEV FITNESS logo (SVG), Orbitron + Space Grotesk fonts, red/black theme
- 📱 Responsive — mobile-first layout with hamburger menu
| Layer | Technology |
|---|---|
| Frontend | React (Vite build), Framer Motion, Font Awesome, Google Fonts |
| Backend | Node.js (built-in http module — no frameworks) |
| Storage | leads.json (file-based JSON) |
| Hosting | GitHub Pages (static) + local Node server (backend) |
gym tracker/
├── index.html # Entry point (title, meta, favicon, fonts)
├── assets/ # Compiled React bundle, CSS, images, logo
├── public/assets/ # Images + DEV FITNESS logo SVG (moved into assets/)
├── src/ # React source (from-scratch components)
│ ├── main.jsx # React entry
│ ├── App.jsx # Page composition
│ ├── index.css # Design system (colors, fonts, buttons)
│ └── components/ # Navbar, Hero, VideoSection, Services, Plans,
│ # Benefits, Transformations, Testimonials,
│ # GymFinder, LeadForm, Footer
├── server.mjs # Node backend: static serving + /api/leads
├── swap.js + pairs*.js # Rebranding scripts (GymFluencer → Dev Fitness)
├── leads.json # Lead submissions (auto-created, gitignored)
└── package.json # Scripts & dependencies
- Node.js 18+
npm install # install dependencies
npm start # start the backend servernpm run dev # Vite dev server with hot reload
npm run build # production build into dist/| Method | Route | Description |
|---|---|---|
| POST | /api/leads |
Save a lead. Body: {name, phone, email, service, branch} → appends to leads.json with id, timestamp, IP |
| GET | /api/leads?key=KEY |
View all saved leads (requires the admin key) |
| GET | / |
Serves the website (from dist/ if present, else project root) |
| Variable | Default | Purpose |
|---|---|---|
PORT |
3000 |
Server port |
ADMIN_KEY |
change-me |
Key required to read saved leads |
Example — view your leads:
curl "http://localhost:3000/api/leads?key=change-me"Visitor fills the form (name, phone, email, service, branch)
│
▼
fetch POST /api/leads ← React LeadForm component
│
▼
Server validates (name/phone/email required → 400 if missing)
│
▼
Appends to leads.json (with id, timestamp, IP) → 200 {"ok": true}
│
▼
Browser shows "Thanks! We will reach out to you soon."
The site is deployed at https://dev9269.github.io/ from the Dev9269.github.io repository (user site root).
The bundle uses absolute
/assets/...paths, so it must live at the domain root — that's why it's a user site, not a project subpath.
For the lead form to work online, deploy the dev-fitness repo to a Node host:
- Create a free account at https://render.com
- New → Web Service → Connect the
Dev9269/dev-fitnessrepo - Build command:
npm install· Start command:npm start - Add env var
ADMIN_KEY=<your-secret-key> - Deploy — the site +
/api/leadsare now live
The site was converted from a generic gym template into Dev Fitness using swap scripts:
node swap.js assets/index-BhUOkQG7.js pairs1.js # brand swaps
node swap.js assets/index-BhUOkQG7.js pairs2.js # YouTube video swap
node swap.js assets/index-BhUOkQG7.js pairs3.js # email swapswap.js replaces exact strings in the compiled bundle and verifies every replacement with an OK n× / MISS report.
Jainam H. Maru (Dev9269) — Security researcher, OS dev & full-stack engineer.
- Email: [email protected]
- GitHub: @Dev9269
- Portfolio: https://dev9269.github.io/portfolio/
© 2026 Dev Fitness. All rights reserved. Owned, designed and coded by Jainam H. Maru (Dev9269).