Stree is a platform focused on empowering women to take charge of their safety by anonymously reporting crimes, accessing resources on tech communities, and growing within the tech industry. Through an interactive map, users can pinpoint and visualize crime incidents to identify safe and unsafe areas, fostering a supportive environment where women feel secure and informed.
- React: Used for building the user interface.
- React Router: For client-side routing.
- Recoil: State management for React.
- Leaflet & React-Leaflet: Used for mapping and location-based services.
- Axios: For making HTTP requests.
- Tailwind CSS: For styling the application.
- Node.js & Express: Backend framework for handling requests and routing.
- MongoDB & Mongoose: Database and ORM for storing and managing data.
- JWT (jsonwebtoken): For handling user authentication and security.
- Zod: For schema validation.
- bcryptjs: For hashing passwords.
-
Fork the Repository
-
Clone the Repository:
git clone ${url_of_your_forked_repo} cd stree
-
Setup the Client:
cd client npm install
-
Setup the Server:
cd ../server npm install
-
Create a
.env
File:-
In the
client
andserver
directories, create a.env
file and add the necessary environment variables. -
Example for
server/.env
:MONGO_URI=your_mongodb_uri JWT_SECRET_KEY=your_jwt_secret_key FRONTEND_URL=http://localhost:your_local_port
-
Example for
client/.env
:VITE_BACKEND_URL=http://localhost:your_backend_port
Make sure to replace
your_mongodb_uri
,your_jwt_secret_key
,localhost:xyxy
, andlocalhost:your_backend_port
with the appropriate values based on your local setup. -
-
Start the backend
cd server npm run start:dev
-
Start the frontend
cd ../client npm run dev
- Open your browser and go to http://localhost:your_local_port to view the application.
- Fork the Project
- 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