Skip to content

72umesh/CodeClauseInternship_PetSellingSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 

Repository files navigation

Pet Selling System

PetZone Banner PetZone

A Pet Selling Platform where users can Register, Add Pet, Buy Pets and Track Orders. Built using React, Node.js, Express, and MySQL.

Features

  • User Authentication (Login/Registration)
  • Pet Listings with Name, Breed, Price, and Images
  • List Pets for Sale (Add New Pet Form)
  • Purchase Form with Buyer Details
  • Fully Responsive Design
  • Real-time updates after pet purchase

Technologies Used

  • Frontend : React.js, Axios for API requests, CSS, React Router for navigation
  • Backend: Node.js, Express.js
  • DataBase: MySQL (Relational Database)

Project Structure

pet-selling-system/
├── client/           # React Frontend (Vite)
│   ├── public/
│   ├── src/
│   │   ├── components/
│   │   ├── pages/
│   │   └── styles/
│   ├── .gitignore
│   ├── package.json
│   └── vite.config.js
│
├── server/            # Node + Express Backend
│   ├── config/
│   ├── controllers/
│   ├── middleware/
│   ├── routes/
│   ├── .gitignore
│   ├── server.js
│   └── package.json
│
└── README.md         # Project overview

⚙️ Setup Instructions

1. Clone the Repository

git clone https://github.com/your-username/pet-selling-system.git
cd pet-selling-system

2. Install Dependencies

Frontend:

cd client
npm install

Backend:

cd ../server
npm install

3. Set Up Environment Variables

Create a .env file in the /server folder:

PORT=5000
DB_HOST=localhost
DB_USER=root
DB_PASS=your_password
DB_NAME=petsystem
JWT_SECRET=your_jwt_secret

4. Start the App

Frontend:

cd client
npm run dev

Backend:

cd ../server
npm run dev

📜 License

This project is open-source under the MIT License.

🤝 Contributing

Contributions are welcome! Feel free to fork the repo and submit a pull request.

🌟 Show Your Support

If you like this project, star the repository and share it with others!


Made with ❤️ by Umesh

📬 Connect with Me

💼 Portfolio: https://umeshpalportfolio.vercel.app/

📧 Email: [email protected]

Releases

No releases published

Packages

No packages published