A web application where students can buy and sell their belongings to their college mates. This platform includes features such as uploading pictures of items, providing information about the student and the products which they want to sell with asking price. The application is built using the MERN stack and styled with Tailwind CSS.
- User Authentication: Secure login and registration using Google OAuth 🔒.
- Product Listings: Users can upload pictures and information about the items they want to sell 📸.
- Search and Filter: Easily search and filter through listed products 🔍.
- User Profiles: View and edit your profile, see items you have listed 👤.
- Responsive Design: Optimized for both desktop and mobile devices 📱💻.
- Frontend:
- React.js ⚛️
- Tailwind CSS 🎨
- Backend:
- Node.js 🟢
- Express.js 🚀
- Database:
- MongoDB 🍃
- Authentication:
- Google OAuth 🔐
- Storage:
- Firebase ☁️
-
Clone the repository:
git clone https://github.com/GautamMPanchaL/collegeSell cd collegeSell -
Install dependencies:
-
For the backend:
cd server npm install -
For the frontend:
cd client npm install
-
-
Set up environment variables:
Create a
.envfile in thecollegeSelldirectory and add the following:URI= "Your mongoDB uri" ROUNDS=10 JWT_SECRET= " JWT SECRET KEY"
Create a
.envfile in theclientdirectory and add the following:VITE_FIREBASE_KEY="Firebase key"
-
Run the application:
-
Start the backend server:
cd server npm start -
Start the frontend development server:
cd client npm start
The application should now be running on
http://localhost:3000. -
- Sign in using your Google account.
- Browse the marketplace to see items listed by other students.
- List an item You can sell your own products , uploading pictures, providing price and providing details about the product.
- Contact sellers directly through the platform to negotiate.