A MERN stack pet adoption website that aims to simplify the process of finding homes for animals that are present in adoption organizations and shelters.
Prototype (Click here to view prototype)
-
Clone the Repository & Install Axios
git clone https://github.com/albinzayedrawan/hopesanctuary.git cd hopesanctuary npm install -
Install Dependencies
Navigate to the frontend and backend folders to install dependencies.-
Frontend (React):
cd frontend npm install -
Backend (Node.js/Express):
cd ../backend npm install
-
-
Set Up Environment Variables
Create a.envfile in thebackenddirectory with the following variables:PORT=5000 DB_URI=your_mongo_db_connection_string JWT_SECRET=your_jwt_secret
-
Run the Application
Open two terminals to run both frontend and backend:-
Frontend:
cd frontend npm start -
Backend:
cd backend node index.js
-
-
Access the Application
Open your browser and navigate tohttp://localhost:3000to view the application.
- User Authentication: Register and login securely with JWT.
- Animal Listings: View all available pets for adoption.
- Search and Filters: Easily find pets based on species, breed, age, and location.
- Responsive Design: Accessible on all devices.
- Admin Dashboard: Manage animal listings and adoption requests.
hopesanctuary/
├── backend/ # Backend API
├── docs/ # Project Documentation
├── frontend/ # Frontend Application
├── CONTRIBUTING # Project Contribution Instructions
├── LICENSE # Project License
├── README.md # Project README
We welcome contributions! See the CONTRIBUTING file for details.
This project is licensed under the MIT License. See the LICENSE file for details.
