Skip to content
Public template

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tech-Archive ⟨/⟩ — Full Stack College Platform

A visually stunning, high-performance project directory for our institution. Now upgraded from a static showcase to a dynamic full-stack platform with authentication, student profiles, and project management.

Status

🚀 Overview

Extend the existing static Tech-Archive site into a full-stack college platform with authentication, student profiles, dashboards, and search — using vanilla HTML/CSS/JS for the frontend and Node.js + Express + MongoDB for the backend.

Important

No React. The frontend stays as multi-page HTML/CSS/JS (the way it is now). New pages are added as separate .html files. The existing beautiful 3D design is preserved and extended.


🛠️ Architecture

graph TB
    subgraph Frontend ["Frontend (Vanilla HTML/CSS/JS)"]
        A[index.html — Home / Showcase]
        B[login.html — Login Page]
        C[signup.html — Register Page]
        D[dashboard.html — User Dashboard]
        E[profile.html — Student Profile View]
        F[browse.html — Browse Students]
        G[add-project.html — Add/Edit Project]
    end

    subgraph Backend ["Backend (Node.js + Express)"]
        H[Auth Routes — /api/auth/*]
        I[User Routes — /api/users/*]
        J[Project Routes — /api/projects/*]
        K[Static File Serving — all .html, .css, .js]
    end

    subgraph Database ["MongoDB Atlas"]
        L[(Users)]
        M[(Projects)]
    end

    Frontend -->|fetch/Axios calls| Backend
    Backend -->|Mongoose| Database
    Backend -->|express.static| Frontend
Loading

📂 Folder Structure

Tech-Archive/
├── public/                      # All frontend files (served by Express)
│   ├── index.html               # Home page
│   ├── login.html               # Login page
│   ├── signup.html              # Signup page
│   ├── dashboard.html           # Logged-in user dashboard
│   ├── profile.html             # View any student's profile
│   ├── browse.html              # Browse/filter students
│   ├── add-project.html         # Add or edit a project
│   ├── css/
│   │   └── style.css            # Unified styles & animations
│   ├── js/
│   │   ├── script.js            # Home page interactions & 3D background
│   │   ├── auth.js              # Login/signup logic
│   │   ├── browse.js            # Browse/filter logic
│   │   └── api.js               # Shared API helper (fetch wrapper + JWT)
│
├── server/
│   ├── config/
│   │   └── db.js                # MongoDB connection
│   ├── middleware/
│   │   └── auth.js              # JWT verification middleware
│   ├── models/
│   │   ├── User.js              # User schema
│   │   └── Project.js           # Project schema
│   ├── routes/
│   │   ├── auth.js              # POST /register, /login
│   │   ├── users.js             # GET/PUT users
│   │   └── projects.js          # CRUD projects
│   └── server.js                # Express entry point
│
├── .env                         # MONGO_URI, JWT_SECRET, PORT
├── package.json                 # Unified dependencies and scripts
└── seed.js                      # Seed DB from existing projects.json

⚡ Quick Start

1. Install Dependencies

npm install

2. Configure Environment

Create a .env file in the root based on .env.example:

MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_secret_key
PORT=3000

3. Seed the Database

Import existing project data into your MongoDB:

npm run seed

4. Start the Server

npm run dev

Open http://localhost:3000 in your browser.


👥 Team Work Division

Role Responsibility
Frontend Lead UI Consistency, Design implementation in public/*.html
Logic/API Integrator Client-side JavaScript, api.js helper, Auth state
Backend Developer Express server structure, REST API Endpoints
DB & Security MongoDB Schema design, Password hashing, JWT Auth
Quality & DevOps Bug fixes, Testing, Deployment to Production

📄 License

MIT — Created for the Institution Project Directory.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages