A simple Ecommerce web app built using Firebase Authentication, Firestore, and Vanilla JavaScript.
This project allows users to sign up, log in, post ads, and browse listings — all with a clean responsive UI.
The Sellin project replicates the core functionality of the Ecommerce marketplace — enabling users to buy and sell products through a Firebase-powered web interface.
Users can create an account, log in, view listings, and add new products with image uploads and details.
- Firebase Authentication (Sign Up, Login, Logout)
- Firestore Database Integration
- Responsive Design
- Product Listings with Details
- Clean UI and Simple UX
- Modular JavaScript structure
Sellin/
│
├── 404.html # Custom "Page Not Found" page for Firebase hosting.
├── firebase.js # Firebase configuration and initialization.
├── home.html # The main page after login, displaying product ads.
├── index.html # The user sign-up page.
├── login.html # The user login page.
├── script.js # Core logic for home.html (fetching/rendering products, sell modal, logout).
├── style.css # Main stylesheet for all HTML pages.
│
├── Assets/
│ └── logo/ # Contains favicons and app icons.
│
└── scripts/
├── login.js # Handles user login authentication with Firebase.
└── signUp.js # Handles new user registration with Firebase.-
Clone the repository
git clone https://github.com/zaid-khan-code/Sellin.git
-
Open the folder
cd Sellin -
Add your Firebase configuration
Replace the placeholders insidefirebase.jswith your Firebase project credentials. -
Launch in browser
open index.html
- Open
index.htmlto sign up a new user. - Log in through
login.html. - Once logged in,
home.htmldisplays all listings and allows product posting. - Firebase handles authentication and database interactions seamlessly.
| Technology | Description |
|---|---|
| HTML5 | Structure & layout |
| CSS3 | Styling & responsiveness |
| JavaScript (ES6) | Logic and dynamic rendering |
| Firebase | Authentication |
| Firebase Hosting | For deployment |
| Firebase Firestore | Firestore database |
Muhammad Zaid Khan
Frontend Developer & Firebase Enthusiast
Passionate about building modern, functional web experiences.