# PostcardMojo A clean Classic ASP application scaffold based on the RouteKit MVC framework. ## Run locally 1. Install IIS Express with Classic ASP enabled. 2. Run `run_site.cmd`. 3. Browse to `http://localhost:8082/`. The landing page is served by `HomeController.Index` through `app/views/Home/landing.asp`. The earlier logo-reference page remains at `app/views/Home/index.asp`. Requests enter through `public/Default.asp`. ## Add an MVC feature 1. Generate a controller: `cscript //nologo scripts\generateController.vbs ExampleController "Index"` 2. Put the controller in `app/controllers/` and include it from `app/controllers/autoload_controllers.asp`. 3. Register its name in `core/lib.ControllerRegistry.asp`. 4. Add its route in `public/Default.asp`. 5. Add any view files under `app/views/`. Optional generators are also provided for database migrations and repository classes. Configure the connection string in `public/web.config` only when the application needs a database. ## Structure - `public/` — IIS site root and static assets - `core/` — reusable MVC framework - `app/` — application controllers, views, models, and repositories - `db/migrations/` — application database migrations - `scripts/` — generators and deployment utilities