Metal Casting Company Site
A company profile for a metal foundry in Klaten, built so its SEO is enforced by the system rather than left to whoever edits next.
- My role
- Sole developer — Laravel API, Filament panel, Nuxt frontend, SEO architecture.
- Field
- Web Development
- Laravel
- Filament
- Nuxt 4
- Vue
- Tailwind CSS
- MySQL
- Vitest
Overview
A foundry in Klaten needed a site that ranks for the work it does. That makes SEO the specification rather than a finishing touch, and the interesting decision was to stop treating it as discipline. Meta title, description, canonical, robots, Open Graph and JSON-LD all come from the database and are rendered on the server; when a field is left empty its value is derived from the content, so it is never simply missing.
Several rules are enforced at the point of saving instead of being documented and hoped for. An image without alt text is rejected on save, whatever path it came in through — decorative images have to be declared as such. Image dimensions are measured server-side and sent with the markup so the layout does not shift. Changing a slug creates a 301 automatically, and redirect chains and loops are refused rather than stored.
The sharpest edge is that indexability is fixed at build time, not at boot. A frontend built without the production environment variables produces an artifact that serves Disallow: / forever, so every build prints a warning telling you which one you just made. Backend tests run against MySQL because the type differences between it and SQLite had already hidden one schema bug.
In pictures





Function
- Shape
- Laravel 13 API-only + Filament 5, Nuxt 4 SSR with @nuxtjs/seo
- Rule
- No copy, URL or meta tag written in the frontend — all of it from the database
- Tests
- 93 backend tests, run on MySQL rather than SQLite
What it does
- 01Every page assembled from reorderable blocks: hero, feature list, card grid, text+media, process steps, FAQ, post list, contact info.
- 02Articles with a table of contents generated from their own subheadings.
- 03Consultation form submissions collected in the panel, each with a WhatsApp reply button.
- 04Alt text required on save; images without it are rejected, decorative ones must be declared.
- 05Slug changes generate 301 redirects; chains and loops are refused.
- 06A 404 log that suggests a redirect destination for each missed URL.
- 07Sitemap built from the database and never containing a noindexed URL.
- 08A panel switch that pulls the whole site out of search results, and non-production environments closed automatically.
Technical notes
- Indexability
- Decided at build time; a wrong build warns at the end of the process
- API addresses
- Browser and Nuxt-server base URLs kept separate on purpose
- Dependencies
- All free and open source — MIT and SIL OFL, no paid packages