A real-time community safety monitoring platform that helps users stay informed about incidents in their area and contribute to community safety.
- Real-time incident mapping
- Community reporting system
- Safety alerts and notifications
- Interactive safety zones
- Incident filtering and search
- Mobile-responsive design
- React
- Vite
- TailwindCSS
- MapLibre GL JS
- AWS Location Services
- Node.js (v14 or higher)
- npm or yarn
- AWS Account with Location Services enabled
- Clone the repository
git clone [repository-url]
cd safetynet- Install dependencies
npm install- Create environment file
cp .env.example .envThen edit .env and add your AWS credentials and other configuration.
- Start the development server
npm run devmain- Production-ready codedevelop- Development integration branchfeature/*- Feature branchesfix/*- Bug fix branches
- Create a new branch
git checkout -b feature/your-feature-name- Make your changes and commit
git add .
git commit -m "Description of your changes"- Push your changes
git push origin feature/your-feature-name- Create a Pull Request on GitHub
- Follow the ESLint configuration
- Use Prettier for code formatting
- Follow component naming conventions
- Write meaningful commit messages
- Always pull latest changes before starting work
git pull origin develop- Resolve conflicts if any
- Create feature branches from
develop - Submit pull requests to
develop
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm test- Run tests (when implemented)
safetynet/
├── src/
│ ├── components/
│ │ ├── SafetyMap.jsx
│ │ ├── IncidentForm.jsx
│ │ ├── PredictiveAlerts.jsx
│ │ └── ...
│ ├── config/
│ │ └── aws-config.js
│ ├── context/
│ │ └── SafetyContext.js
│ ├── App.jsx
│ └── main.jsx
├── public/
├── .gitignore
├── package.json
└── README.md
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or collaboration, please contact: [Your Contact Information] # Safety_Net