SafeScape is an innovative mobile app designed to help users prepare for and stay protected during natural disasters and severe weather events. It offers a comprehensive set of features to educate users about disaster preparedness, provide real-time disaster alerts, and facilitate community support during crises.
This README provides an overview of the app, its key features, and how to get started with development or usage.
SafeScape offers the following key features:
-
Educational Resources:
- A library of articles, videos, and infographics to educate users about different types of natural disasters.
- Step-by-step guides for creating personalized emergency plans for individuals, families, and pets.
-
Alert Notifications:
- Real-time alerts from national or regional alert systems.
- Notifications sent to users when a disaster or severe weather event is imminent or occurring in their location.
-
Interactive Maps:
- Live maps with disaster tracking, showing the location and movement of storms, wildfires, earthquakes, and other natural disasters.
-
Emergency Contacts:
- A list of important emergency contacts and resources, including local emergency services, shelters, and hospitals.
-
Community Chat & Support:
- A community chat feature to enable users to connect with others in their area.
- Sharing of information and mutual support during and after disasters.
-
Check-In Feature:
- Users can check in as "safe" to reassure their loved ones during a disaster, particularly valuable during events like hurricanes or earthquakes.
-
Offline Access:
- Critical information, including emergency plans and contact details, can be accessed offline.
-
Multi-Language Support:
- Support for multiple languages to cater to a diverse user base.
Before you begin contributing to the project, make sure you have the following installed:
- Node.js and npm
- A modern code editor like Visual Studio Code
This repository contains two main components:
- Client: The frontend application (Expo + TypeScript + Tailwind).
- Server: The backend server (Prisma + Sqlite).
Follow the steps below to get a copy of the project up and running on your local machine:
-
Fork and clone this repository.
git clone https://github.com/shubhamm69/SafeScape
-
Navigate to the project directory.
cd SafeScape
-
Open your terminal.
-
Navigate to the
app
directory using thecd
command:cd client
-
Install the necessary dependencies using your package manager of choice (npm, yarn, pnpm or bun):
npm i
-
To start the application, run the following command:
npm start
-
Press
w
to run on the web emulator or, you can directly start expo web app using:npm run web
-
Open your terminal.
-
Navigate to the
server
directory using thecd
command:cd server
-
Install the necessary server dependencies using your package manager of choice (npm, yarn, pnpm or bun):
npm i
-
To start the server, run the following command:
npm run dev
The local server will be up and running on http://localhost:3000
.
We welcome contributions from the open-source community! By contributing, you can help us improve the SafeScape Applciation.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is licensed under the Apache 2 License - see the LICENSE file for details.