Skip to content

Petsera is a feature-rich web platform built with the MERN stack that connects animal lovers with pets in need of homes. Users can adopt pets, launch or donate to fundraising campaigns, and manage their activities through dedicated dashboards. Admins have full control over users, donations, and pet listings.

Notifications You must be signed in to change notification settings

azijulhakimbd/Petsera-Server-Side

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐾 Petsera - Pet Adoption Platform

A full-featured pet adoption platform built with the MERN stack that connects loving individuals with pets in need of homes. Users can adopt pets, create donation campaigns, donate with Stripe, and manage everything from a user or admin dashboard. The goal is to use technology for a meaningful cause—helping animals find forever homes.


🔗 Live Website

🌐 Petsera Live Site

📂 Repositories


💡 Purpose

Petsera is designed to simplify the pet adoption and donation process. It allows users to:

  • View and adopt pets from various categories
  • Launch and donate to campaigns for pets in need
  • Manage their added pets and donations
  • Admins can manage users, pets, and donation campaigns

🚀 Key Features

🔐 Authentication

  • Firebase Authentication (Email/Password, Google, GitHub)
  • JWT-based route protection with secure token storage
  • Banned users cannot log in

🐶 Pet Listings

  • Infinite scrolling with filtering and searching
  • Pet details page with “Adopt” modal and request system

💸 Donations

  • Create campaigns with deadline and max amount
  • Donate securely via Stripe
  • View and track donation progress
  • View recommended donation campaigns

👤 User Dashboard

  • Add pets using imgbb API with react-hook-form
  • Manage user’s pets (Update, Delete, Mark as Adopted)
  • Manage personal donations (refund, track)
  • Create/edit donation campaigns with Markdown editor

🛠️ Admin Dashboard

  • Promote user to admin
  • Ban users from accessing the system
  • Manage all pets and donations added by users

🧱 Tech Stack

Backend

  • Node.js + Express.js
  • MongoDB Atlas
  • Firebase Admin SDK
  • JWT Authentication
  • Stripe Payment API
  • CORS, dotenv, cookie-parser

🛡️ Security

  • Firebase config & MongoDB credentials secured via .env
  • JWT tokens stored in HTTP-only cookies
  • Protected admin/user-only routes
  • Role-based access control

About

Petsera is a feature-rich web platform built with the MERN stack that connects animal lovers with pets in need of homes. Users can adopt pets, launch or donate to fundraising campaigns, and manage their activities through dedicated dashboards. Admins have full control over users, donations, and pet listings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published