Second STAR is a modern, responsive web application for a thrift clothing store.
Built with Vite + React, powered by Firebase for authentication & database storage,
and enhanced with Google Maps JavaScript API for location-based features.
- 🛍 Product Listings — Browse a curated selection of thrift clothing items.
- 🔍 Search & Filter — Easily find products by name, category, or size.
- 📦 Product Details Page — View item descriptions, prices, and seller info.
- 💬 Messaging System — Contact sellers directly via in-app chat (Firestore).
- 📍 Store Locator — Interactive Google Map to find store locations & drop-off points.
- 🔐 Secure Authentication — User sign-up, login, and profile management with Firebase Auth.
- 🗄 Realtime Database — Firestore for storing products, messages, and user profiles.
- 📱 Responsive Design — Works seamlessly on desktop, tablet, and mobile.
- Frontend: Vite + React
- Backend/Database: Firebase Firestore
- Authentication: Firebase Auth
- Payment Gateaway: Midtrans
- Maps & Location: Google Maps JavaScript API
- Styling: Tailwind CSS, FontAwesome, and React Icons
- Clone the repository
git clone https://github.com/chagaaxo/secondstar.git cd secondstar - Install dependencies
npm install
- Setup firebase inside firebase.js
apiKey: "your_firebase_api_key", authDomain: "your_firebase_auth_domain", projectId: "your_firebase_project_id", storageBucket: "your_firebase_storage_bucket", messagingSenderId: "your_firebase_messaging_sender_id", appId: "your_firebase_app_id",
- Run the development serverv
npm run dev
- Build for production
npm run build
- Go to Firebase Console
- Create a new project (e.g., secondstar)
- Enable:
- Authentication (Email/Password, Google, etc.)
- Firestore Database
- Firebase Hosting (optional) Copy your Firebase config and paste into firebase.js
- Go to Google Cloud Console
- Create an API key for Google Maps JavaScript API
- Enable billing (required by Google Maps)
- Restrict your key to your domain for security
- Add it to your .env as REACT_APP_GOOGLE_MAPS_API_KEY
This project is licensed under the MIT License — you are free to use, modify, and distribute