Skip to content

ahmrafi22/PetVally

Repository files navigation

PetVally - Next.JS

About This Project

Project for CSE 470 - Software Engineering

Petvally banner

A comunity of petowners and caregivers.

  • Get recomended pets based on your life style
  • Shop for your pet
  • Get notifiacition about missing pets near your, find all the post about missing pets near you.
  • Find pets for adoption near you
  • Find vet doctors Near you
  • Ai chatbot as a professional vet

💾 Tech Stack :

Typescript Next JS React Css3 TailwindCSS JWT Prisma Postgres NeonDB ShandCN PostMan 🐻 Zustand Cloudinary Gsap LottieFiles

🚀 Getting Started

📦 1. Install Dependencies

Make sure you have Node.js and npm installed. Then run:

npm install

⚙️ 2. Create Your Own Environment File

Create your own .env file in the root directory.

Your .env file should look like this:

DATABASE_URL = your_database_url_here 
JWT_SECRET = your_jwt_secret_here 
CLOUDINARY_CLOUD_NAME = your_cloudinary_cloud_name 
CLOUDINARY_API_KEY = your_cloudinary_api_key 
CLOUDINARY_API_SECRET = your_cloudinary_api_secret

🛑 Never commit your .env file to version control.

🧪 3. Run the Development Server

npm run dev

🚨 4. Properly add or edit "Prisma.Schema"

Run These commands then

  1. npx prisma db push
  2. npx prisma generate
  3. First run to seed pet data npx prisma db seed
  4. Now remane the seed.ts to something else and rename seed2.ts -> to -> seed.ts .
  5. Now again run npx prisma db seed this will update the product data
  6. Check all data tables using npx prisma studio or go to NeonDB and check your project's Table

Open your browser and visit for local development : http://localhost:3000

About

A pet community and shop + connecting caregivers with pet owners

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages