Skip to content

321sayantan/Animal-Rescue-And-Adoption-WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

🐾 Animal Adoption and Rescue Website(AdoPet)

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.

Table of Contents

Project Description

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.

Features

  • 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

How It Works:

  1. 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.
  2. 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.

Installation

To get started with this project locally, follow these steps:

1. Clone the Repository

First, clone the repository to your local machine:

git clone https://github.com/yourusername/animal-adoption-rescue.git

2. Navigate into the project directory:

cd Animal-Rescue-And-Adoption-WebApp

3. Install the required dependencies:

Install the dependencies for both Client and Server:

npm install

4. Set up environment variables:

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

5. Start the development server:

Deploy both the Client and the Server:

#Client
npm start

#Server
nodemon server.js

6. Open the application in a browser:

Visit http://localhost:5000 to view the website locally.

Troubleshooting

  • 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.

Screenshots

Login Page: App Screenshot

Registration Page: App Screenshot

Home Page: App Screenshot

Animal List Page: App Screenshot

Location of Animals: App Screenshot

Tech Stack

Client: HTML, CSS, Bootstrap, React, JSX.

Server: Node, Express.

DataBase: MongoDB.

Authentication: Google OAuth and JWT.

Contributing

Contributions are always welcome! If you'd like to contribute, please follow these guidelines:

1. Fork the Repository

2. Create a Feature Branch

git checkout -b feature/your-feature

3. Make Your Changes

4. Commit Your Changes

git commit -am 'Add new feature'

5. Push to the Branch

git push origin feature/your-feature

6. Create a Pull Request

Authors

License

This project is licensed under the MIT License. See the LICENSE file for more details. MIT

Badges

Add badges from somewhere like: shields.io

MIT License GPLv3 License AGPL License

About

This website helps you to adopt and rescue animals that needs your help.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published