A secure family location tracking system built with React, TypeScript, and Leaflet maps.
- Interactive map interface with custom markers
- Real-time location updates for family members
- Battery level and device status monitoring
- Historical movement paths and patterns
- Create circular geo-fences with customizable radius
- Set entry/exit notifications for specific family members
- Visual representation on the interactive map
- Active/inactive fence toggling
- Role-based access control (Admin, Family, Child)
- Device tracking and management
- Online/offline status monitoring
- Activity history and statistics
- Distance traveled tracking
- Time spent at locations
- Battery level history
- Movement pattern analysis
- Geo-fence entry/exit alerts
- Battery level warnings
- Device offline notifications
- Real-time status updates
- Security & privacy controls
- System configuration
- Database management
- Tracking preferences
- Frontend: React 18, TypeScript
- Mapping: Leaflet with React-Leaflet
- Styling: Tailwind CSS
- Icons: Lucide React
- Date Handling: date-fns
- Routing: React Router DOM
- Clone the repository:
git clone https://github.com/odaysec/family-secure.git
cd family-secure- Install dependencies:
npm install- Start the development server:
npm run devCreate a .env file in the root directory:
VITE_MAP_TILE_LAYER=https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png
VITE_DEFAULT_CENTER_LAT=-6.2088
VITE_DEFAULT_CENTER_LNG=106.8456- Build the project:
npm run build- Preview the production build:
npm run preview- Create a new site on Netlify
- Connect your GitHub repository
- Configure build settings:
- Build command: npm run build
- Publish directory: dist
 
- Build command: 
- Deploy!
- End-to-end encryption for location data
- Role-based access control
- Secure authentication system
- Privacy-focused data handling
- Customizable data retention policies
The project uses a cyberpunk theme with customizable colors in tailwind.config.js:
colors: {
  'cyber-black': '#0c0c0f',
  'cyber-dark': '#121218',
  'cyber-gray': '#1e1e26',
  'cyber-light': '#2a2a36',
  'neon-green': '#00ff9d',
  'neon-blue': '#00f0ff',
  'alert-red': '#ff355e',
  'alert-orange': '#ff9f1c'
}The application is fully responsive and works on:
- Desktop browsers
- Tablets
- Mobile devices
- Fork the repository
- Create your feature branch: git checkout -b feature/AmazingFeature
- Commit your changes: git commit -m 'Add some AmazingFeature'
- Push to the branch: git push origin feature/AmazingFeature
- Open a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenStreetMap for map tiles
- React and TypeScript communities
- All contributors and users
- GitHub: @odaysec
If you found this project helpful, please give it a βοΈ on GitHub!