TrackFriend is a web application that helps users track and manage groups of friends, view their locations on a map, and visualize group data. The app is mobile-friendly and features a modern, responsive UI.
- Group detail view with map and graph visualizations
- Member list management (add/remove members)
- Full-screen map modal for detailed location viewing
- Responsive design for both desktop and mobile devices
- Styled with custom CSS for a clean, modern look
index.html- Main HTML file for the appscript.js- JavaScript logic for interactivity and data handlinggroup.css- Main stylesheet for group and modal UIfirebase.rules.json- Firebase security rules (if using Firebase backend)README.md- This documentation file
- Update the CSS in
group.cssto change the look and feel. - Modify
script.jsto connect to your backend or add new features.
This project is for educational and demonstration purposes. Please check with the repository owner for licensing details.
-
Firebase Project
- Go to Firebase Console, create a new project.
- Enable Authentication (Google + Email/Password).
- Create a Realtime Database (in test mode, then apply
firebase.rules.json). - Add a web app, copy your config to
script.js.
-
Local Development
- Place your Firebase config in
script.js. - Run a local server (e.g.,
npx serveor VS Code Live Server).
- Place your Firebase config in
-
Deployment
- Deploy to Firebase Hosting, Netlify, or any static host.
- Ensure HTTPS for geolocation and auth.
-
Security Rules
- Copy
firebase.rules.jsonto the Firebase Console > Database > Rules.
- Copy
-
Demo Video
- Show login, group creation/join, real-time map, owner actions.
/users/{uid} → { displayName, email, photoURL, lastSeen }
/locations/{uid} → { lat, lng, timestamp }
/groups/{groupName} → { ownerUid, privateKeyHash, createdAt, members: { [uid]: true } }