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: umeshpal8141@gmail.com

Releases

No releases published

Packages

No packages published