|
1 | | -# CourseScheduler |
| 1 | +# Course Scheduler |
| 2 | + |
| 3 | +A Java Swing desktop application for semester planning, enrollment, and waitlist management, backed by Apache Derby. |
| 4 | + |
| 5 | +## Why this is portfolio-ready |
| 6 | +- Clear separation of concerns between UI (`MainFrame`), query services (`*Queries`), and data models (`*Entry`). |
| 7 | +- End-to-end workflows for both administrator and student operations. |
| 8 | +- Real relational data modeling with class capacity and waitlist promotion logic. |
| 9 | +- Configurable database connection for local or hosted Derby instances. |
| 10 | + |
| 11 | +## Core features |
| 12 | +- Add and switch semesters. |
| 13 | +- Create courses and open class sections with seat limits. |
| 14 | +- Register students and manage their schedules. |
| 15 | +- Auto-waitlist students when a class is full. |
| 16 | +- Promote waitlisted students when seats open. |
| 17 | +- Display class rosters and student schedules. |
| 18 | +- Includes a polished, modernized Swing visual theme. |
| 19 | + |
| 20 | +## Tech stack |
| 21 | +- Java 11 |
| 22 | +- Java Swing (desktop UI) |
| 23 | +- Apache Derby (network server mode) |
| 24 | +- NetBeans/Ant project structure |
| 25 | +- GitHub Actions (compile verification CI) |
| 26 | + |
| 27 | +## Architecture snapshot |
| 28 | +```mermaid |
| 29 | +flowchart LR |
| 30 | + A["MainFrame (Swing UI)"] --> B["*Queries service layer"] |
| 31 | + B --> C["DBConnection (JDBC)"] |
| 32 | + C --> D["Apache Derby"] |
| 33 | + B --> E["*Entry models"] |
| 34 | +``` |
| 35 | + |
| 36 | +## Repository structure |
| 37 | +- `CourseSchedulerVayunandanreddyPannalaVFP5175/` — primary NetBeans Java project |
| 38 | +- `CourseSchedulerDBVayunandanreddyPannalaVFP5175/` — existing Derby database snapshot |
| 39 | +- `database/` — schema and sample seed scripts for fresh setup |
| 40 | +- `scripts/` — local setup helpers |
| 41 | +- `docs/` — architecture, setup, and roadmap docs |
| 42 | + |
| 43 | +## Quick start |
| 44 | +1. Install prerequisites listed in [`docs/SETUP.md`](docs/SETUP.md). |
| 45 | +2. Start Derby network server: |
| 46 | + - `./scripts/start-derby-server.sh` |
| 47 | +3. Initialize database (optional if using the existing snapshot): |
| 48 | + - `./scripts/create-schema.sh` |
| 49 | +4. Seed demo data (optional): |
| 50 | + - `./scripts/load-seed-data.sh` |
| 51 | +5. Run the app: |
| 52 | + - NetBeans: open `CourseSchedulerVayunandanreddyPannalaVFP5175` and click Run. |
| 53 | + - CLI one-command run: `./scripts/run-app.sh` |
| 54 | + - Additional build/run options are in [`docs/SETUP.md`](docs/SETUP.md). |
| 55 | + |
| 56 | +## Configuration |
| 57 | +`DBConnection` supports environment-based configuration: |
| 58 | + |
| 59 | +| Variable | Default | |
| 60 | +|---|---| |
| 61 | +| `COURSE_SCHEDULER_DB_URL` | *(unset; computed from host/port/name)* | |
| 62 | +| `COURSE_SCHEDULER_DB_HOST` | `localhost` | |
| 63 | +| `COURSE_SCHEDULER_DB_PORT` | `1527` | |
| 64 | +| `COURSE_SCHEDULER_DB_NAME` | `CourseSchedulerDBVayunandanreddyPannalaVFP5175` | |
| 65 | +| `COURSE_SCHEDULER_DB_USER` | `java` | |
| 66 | +| `COURSE_SCHEDULER_DB_PASSWORD` | `java` | |
| 67 | + |
| 68 | +## Documentation |
| 69 | +- Setup and install guide: [`docs/SETUP.md`](docs/SETUP.md) |
| 70 | +- Architecture and data model: [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) |
| 71 | +- Portfolio growth roadmap: [`docs/ROADMAP.md`](docs/ROADMAP.md) |
| 72 | +- Demo walkthrough script: [`docs/DEMO_SCRIPT.md`](docs/DEMO_SCRIPT.md) |
| 73 | +- Resume/project bullets: [`docs/PORTFOLIO.md`](docs/PORTFOLIO.md) |
| 74 | +- GitHub launch copy kit: [`docs/GITHUB_LAUNCH_PACK.md`](docs/GITHUB_LAUNCH_PACK.md) |
| 75 | +- Common questions: [`docs/FAQ.md`](docs/FAQ.md) |
| 76 | +- Contribution guide: [`CONTRIBUTING.md`](CONTRIBUTING.md) |
| 77 | + |
| 78 | +## Developer tooling |
| 79 | +- Compile locally: `./scripts/compile-app.sh` |
| 80 | +- Run app locally: `./scripts/run-app.sh` |
| 81 | +- Initialize DB schema: `./scripts/create-schema.sh` |
| 82 | +- Load demo data: `./scripts/load-seed-data.sh` |
| 83 | +- CI build check: `.github/workflows/build.yml` |
| 84 | + |
| 85 | +## Interview talking points |
| 86 | +- Designed a two-role scheduling workflow (admin + student) with waitlist promotion. |
| 87 | +- Implemented database-backed scheduling constraints and queue-like seat assignment. |
| 88 | +- Structured a desktop app with maintainable query abstractions and model objects. |
| 89 | +- Documented onboarding and deployment setup for reproducibility. |
| 90 | + |
| 91 | +## Legacy artifacts |
| 92 | +This repository still includes original ZIP submissions for historical reference: |
| 93 | +- `CourseSchedulerVayunandanreddyVFP5175-1.zip` |
| 94 | +- `CourseSchedulerDBVayunandanreddyPannalaVFP5175-4.zip` |
0 commit comments