# YourClassroom Production Package

## Contents
- `public_html/`: Compiled Angular static frontend files to be served by Apache2.
- `backend/`: Compiled Node.js backend server (`dist/app.js`).
- `db/`: MySQL database initialization scripts (`database_creation.sql` & `populate_classroom_app.sql`).
- `.env`: Environment variable configuration file pre-configured with `PORT=5500`.
- `setup-db.sh`: Script to set up the MySQL database and load initial seed data.
- `start-backend.sh`: Script to install production dependencies and run the Node.js backend server.

## Instructions

1. **Database Setup**:
   Ensure MySQL server is running and credentials in `.env` are accurate. Then run:
   ```bash
   ./setup-db.sh
   ```

2. **Start Backend**:
   Run the backend server (listens on port 5500 by default):
   ```bash
   ./start-backend.sh
   ```

3. **Apache2 Frontend Setup**:
   Copy or point your Apache2 DocumentRoot to the `public_html/` folder.
