• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Aditi_Deshmukh

Aditi_Deshmukh

PetWebsite

Public
Like
PetWebsite
Home
Code
3
backend
2
shared
2
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/27/2025
Viewing readonly version of main branch: v7
View latest version
README.md

PawPals - Pet Adoption & Services Platform

A comprehensive platform for pet adoption, grooming services, veterinary care, and pet supplies.

Features

πŸ• Pet Adoption

  • Register pets for adoption
  • Browse available pets
  • Adoption application process
  • Pet profiles with photos and details

βœ‚οΈ Grooming Services

  • Book grooming appointments
  • Service packages (basic, premium, deluxe)
  • Groomer profiles and availability
  • Service history tracking

πŸ₯ Veterinary Services

  • Schedule vet appointments
  • Health records management
  • Vaccination tracking
  • Emergency contact information

πŸ›οΈ Pet Supplies

  • Browse and purchase pet supplies
  • Categories: Food, Toys, Accessories, Health
  • Shopping cart and checkout
  • Order tracking

πŸ‘€ User Management

  • User registration and authentication
  • Pet owner profiles
  • Adoption history
  • Service booking history

πŸ”§ Admin Features

  • Manage pet listings
  • Approve adoption applications
  • Manage service providers
  • Analytics dashboard

Project Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ migrations.ts    # Database schema
β”‚   β”‚   └── queries.ts       # Database operations
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ auth.ts         # Authentication routes
β”‚   β”‚   β”œβ”€β”€ pets.ts         # Pet management
β”‚   β”‚   β”œβ”€β”€ services.ts     # Grooming/vet services
β”‚   β”‚   β”œβ”€β”€ store.ts        # Pet supplies store
β”‚   β”‚   └── static.ts       # Static file serving
β”‚   └── index.ts            # Main server entry
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.tsx         # Main app component
β”‚   β”‚   β”œβ”€β”€ Navigation.tsx  # Navigation bar
β”‚   β”‚   β”œβ”€β”€ PetCard.tsx     # Pet display component
β”‚   β”‚   └── ServiceCard.tsx # Service display component
β”‚   β”œβ”€β”€ pages/
β”‚   β”‚   β”œβ”€β”€ Home.tsx        # Landing page
β”‚   β”‚   β”œβ”€β”€ Adoption.tsx    # Pet adoption page
β”‚   β”‚   β”œβ”€β”€ Services.tsx    # Services page
β”‚   β”‚   └── Store.tsx       # Pet supplies store
β”‚   β”œβ”€β”€ index.html          # Main HTML template
β”‚   └── index.tsx           # Frontend entry point
└── shared/
    β”œβ”€β”€ types.ts            # Shared TypeScript types
    └── utils.ts            # Shared utility functions

Technology Stack

  • Backend: Hono (TypeScript API framework)
  • Frontend: React 18.2.0 with TypeScript
  • Database: SQLite
  • Styling: TailwindCSS
  • Authentication: JWT-based auth

Getting Started

The application is automatically deployed on Val Town. The main entry point is /backend/index.ts which serves both the API and frontend.

API Endpoints

Authentication

  • POST /api/auth/register - User registration
  • POST /api/auth/login - User login
  • GET /api/auth/profile - Get user profile

Pets

  • GET /api/pets - List available pets
  • POST /api/pets - Register a pet for adoption
  • GET /api/pets/:id - Get pet details
  • POST /api/pets/:id/adopt - Submit adoption application

Services

  • GET /api/services/grooming - List grooming services
  • POST /api/services/grooming/book - Book grooming appointment
  • GET /api/services/veterinary - List vet services
  • POST /api/services/veterinary/book - Book vet appointment

Store

  • GET /api/store/products - List pet supplies
  • POST /api/store/cart - Add to cart
  • POST /api/store/checkout - Process order
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.