Skip to content

System Architecture

ASIF SIDDQUI edited this page Feb 14, 2026 · 1 revision

3. Page Title: System Architecture

Explains the technical design.

# Technical Architecture 🏗️

SwapSkill is built on a **Serverless Architecture** utilizing Google Firebase. This ensures scalability and low maintenance costs.

## Tech Stack
* **Frontend:** HTML5, CSS3, JavaScript (ES6+)
* **Backend:** Firebase (BaaS - Backend as a Service)

## Firebase Services Used

### 1. Firebase Authentication
* Handles user sign-up and login.
* Supports Email/Password and Google Sign-In.
* Manages user sessions securely.

### 2. Cloud Firestore (NoSQL Database)
We use a document-based structure.
* **Collection: `users`**
    * `uid`: Unique User ID
    * `name`: User's full name
    * `email`: User's email
    * `skills_offering`: Array of skills they can teach (e.g., ["C#", "Cooking"])
    * `skills_seeking`: Array of skills they want to learn (e.g., ["Guitar", "Data Mining"])

### 3. Firebase Hosting
* Serves the static assets (HTML, CSS, JS) over a global CDN.
* Provides SSL certification automatically.

Clone this wiki locally