TrainingCenter

AC & DC Technical Institute Training Center

A comprehensive web platform for managing a technical training institute, featuring student enrollment, course management, detailed reporting, and a secure certificate verification system.

Live Demo

📌 Developer & AI Documentation

We have established a rigorous structural guide for building new features, updating databases, or utilizing the shadcn/ui framework.

👉 Please read the DEVELOPER_GUIDE.md before contributing or prompting AI agents to modify this codebase.

Features

Public Portal

Student Portal

Admin Portal

Recent Updates

Technologies Used

Frontend & Core

Backend & Services

Utilities

Setup Instructions

Follow these steps to set up the project locally on your machine.

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/umeshjha1998/TrainingCenter.git
    cd TrainingCenter
    
  2. Install dependencies:
    npm install
    
  3. Configure Environment Variables: Create a .env.local file at the root to hold your mail credentials:
    SMTP_USER=your-email@gmail.com
    SMTP_PASS=your-app-password
    # SMTP_HOST=smtp.gmail.com
    # SMTP_PORT=587
    

    (If no ENV is supplied, the app will safely run in DEV MODE and print OTPs via browser alerts)

  4. Configure Firebase:
    • Create a new project in the Firebase Console.
    • Enable Authentication (Email/Password).
    • Enable Firestore Database (Start in Test Mode).
    • Register a web app in your Firebase project and update src/firebase.js with your config keys.
  5. Run the development server:
    npm run dev
    
  6. Open in browser: Open http://localhost:3000 to view the application.

License

This project is licensed under the MIT License.