Welcome to the Animal Adoption and Rescue Website! This project is a web application built with the MERN stack (MongoDB, Express, React, Node.js) designed to help users adopt and rescue animals.
The Animal Adoption and Rescue Website allows users to browse available animals, view detailed information, and submit adoption applications. Admins can manage animal listings, view adoption requests, and update animal statuses.
- Animal Adoption: Users can browse and adopt animals available for rehoming.
- Animal Rescue: Volunteers within a 15 km radius are notified when an animal needs immediate rescue. This feature ensures that urgent cases are handled promptly by nearby volunteers.
- User Authentication: Secure login and registration for both users and admins.
- Animal Listings: Browse and filter animals available for adoption.
- Animal Details: View detailed information about each animal.
- Adoption Applications: Submit and manage adoption applications.
- Admin Dashboard: Manage animal listings and view adoption requests.
- Light/dark mode toggle
- Animal Rescue Alerts: When a new rescue request is created, the system calculates the location of the request and identifies volunteers within a 15 km radius.
- Notification System: Volunteers within the specified range receive E-mail notifications about the rescue request, enabling them to respond quickly to the situation.
This application aims to improve the efficiency of animal rescue operations and connect animals in need with caring individuals who can help.
To get started with this project locally, follow these steps:
First, clone the repository to your local machine:
git clone https://github.com/yourusername/animal-adoption-rescue.git
cd Animal-Rescue-And-Adoption-WebApp
Install the dependencies for both Client and Server:
npm install
Create a .env
file inside both Client and Server of the project, and add the following environment variables:
MONGO_URI=your_mongodb_connection_string
GOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
PORT=5000 # Optional, can be any port you'd like to run the server on
Deploy both the Client and the Server:
#Client
npm start
#Server
nodemon server.js
Visit http://localhost:5000
to view the website locally.
- Ensure MongoDB is running locally or is accessible via a service like MongoDB Atlas.
- Double-check that all necessary environment variables are properly configured in your
.env
file. - If you encounter errors, review the console output for missing dependencies or incorrect configurations.
Client: HTML, CSS, Bootstrap, React, JSX.
Server: Node, Express.
DataBase: MongoDB.
Authentication: Google OAuth and JWT.
Contributions are always welcome! If you'd like to contribute, please follow these guidelines:
git checkout -b feature/your-feature
git commit -am 'Add new feature'
git push origin feature/your-feature
This project is licensed under the MIT License. See the LICENSE file for more details. MIT
Add badges from somewhere like: shields.io