https://github.com/devbyray/glr-stagemarkt-clone
https://github.com/devbyray/glr-stagemarkt-clone
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/devbyray/glr-stagemarkt-clone
- Owner: devbyray
- Created: 2026-02-17T21:41:28.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-02-27T21:17:01.000Z (3 months ago)
- Last Synced: 2026-02-28T00:43:46.542Z (3 months ago)
- Language: Vue
- Homepage: https://glr-stagemarkt-clone.vercel.app
- Size: 3.24 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GLR Stagemarkt Clone

**π Live demo: [https://glr-stagemarkt-clone.vercel.app/](https://glr-stagemarkt-clone.vercel.app/)**
Een moderne vacature website voor MBO studenten, gebouwd met Nuxt.js en Tailwind CSS. GeΓ―nspireerd door Stagemarkt.nl met de visuele stijl van het Grafisch Lyceum Rotterdam.
> *Deze applicatie is ontwikkeld als onderdeel van een gastles voor het [Grafisch Lyceum Rotterdam](https://glr.nl) door [SBB](https://s-bb.nl). Design gemaakt in [PenPot](https://design.penpot.app/#/view?file-id=429aa6c1-d613-816d-8007-9757a31a90a3&page-id=429aa6c1-d613-816d-8007-9757a31a90a4§ion=interactions&index=0&share-id=dd30d345-3fda-8112-8007-976ef5653b91)*
## β¨ Features
- π **Zoekfunctionaliteit** - Zoek vacatures op functie, bedrijf, locatie of beschrijving
- π **Vacature overzicht** - Browse door alle beschikbare stageplekken
- π **Detail pagina's** - Bekijk volledige vacature informatie
- π¨ **GLR Brand Design** - Professioneel design in GLR huisstijl
- π± **Responsive** - Werkt perfect op desktop, tablet en mobiel
- β‘ **Snel & Modern** - Gebouwd met Nuxt 4 en Vue 3
- π **Vercel Ready** - API endpoints in Nuxt voor eenvoudige deployment
- π **TypeScript** - Volledige type safety van API tot frontend
## π¦ Installatie
Voordat je begint, heb je een aantal tools nodig:
### Vereisten
1. **Git** - Om het project te downloaden
- π [Installatie instructies voor Git](docs/installatie-git.md)
2. **Node.js** - Om de applicatie te draaien (npm komt automatisch mee!)
- π [Installatie instructies voor Node.js](docs/installatie-nodejs.md)
### Project installeren
Als je Git en Node.js hebt geΓ―nstalleerd:
```bash
# 1. Clone het project
git clone https://github.com/JOUW-USERNAME/glr-stagemarkt-clone.git
# 2. Ga naar de project folder
cd glr-stagemarkt-clone
# 3. Installeer dependencies
npm install
```
Dit kan 1-2 minuten duren. β±οΈ
## π Start de applicatie
Als alles geΓ―nstalleerd is, start je de development server:
```bash
npm run dev
```
De applicatie is nu beschikbaar op:
- **Frontend & API**: http://localhost:3000
- **API Endpoints**:
- `GET /api/vacatures` - Alle vacatures
- `GET /api/vacatures/:id` - Specifieke vacature
## π Project Structuur
```
βββ app/
β βββ components/ # Vue componenten (SearchBar, VacancyCard, etc)
β βββ composables/ # API logic (useVacancies.ts) met TypeScript
β βββ layouts/ # Page layouts met header/footer
β βββ pages/ # Route pages (index, search, detail)
βββ server/
β βββ api/vacatures/ # Nuxt API endpoints (TypeScript)
β βββ data.ts # Vacatures data (18 stageplekken)
β βββ types.ts # TypeScript interfaces (Vacancy)
βββ docs/
β βββ installatie-git.md # Git installatie instructies
β βββ installatie-nodejs.md # Node.js installatie
βββ tailwind.config.js # GLR brand kleuren
```
## π¨ GLR Brand Kleuren
Gebaseerd op de authentieke glr.nl website:
- **Primary Lime Green**: `#8fe507` - OfficiΓ«le GLR lime-groene kleur
- **Black**: `#000000` - Voor tekst, knoppen en sterke accenten
- **White**: `#ffffff` - Voor achtergronden en contrast
- **Bright Lime**: `#baed00` - Voor banners en call-to-actions
De styling volgt het karakteristieke GLR design met felle lime-groene accenten, strakke zwarte elementen en een modern, bold typografie.
## π Scripts
```bash
npm run dev # Start development server
npm run build # Build voor productie
npm run generate # Generate static site
npm run preview # Preview production build
```
## π οΈ Tech Stack
- Nuxt.js 4 (Vue 3)
- Tailwind CSS 3
- Nuxt Server API Routes
- TypeScript
## π Deployment
De applicatie is klaar voor deployment op Vercel:
1. Push je code naar GitHub
2. Importeer het project in Vercel
3. Vercel detecteert automatisch de Nuxt configuratie
4. Deploy! π
De API endpoints (`/api/vacatures`) werken automatisch op Vercel als serverless functions.
## π§ Veelvoorkomende problemen
### β "npm: command not found" of "'npm' is not recognized"
**Oplossing:** Node.js is niet correct geΓ―nstalleerd. Herinstalleer Node.js via de [installatie instructies](docs/installatie-nodejs.md).
### β "Port 3000 is already in use"
**Oplossing:** Er draait al iets op port 3000. Stop dat programma of gebruik een andere port:
```bash
PORT=3001 npm run dev
```
**Windows (PowerShell):**
```powershell
$env:PORT=3001; npm run dev
```
### β Problemen met `npm install`
**Oplossing 1:** Verwijder `node_modules` en probeer opnieuw:
```bash
# Windows
rmdir /s node_modules
npm install
# macOS/Linux
rm -rf node_modules
npm install
```
**Oplossing 2:** Gebruik een oudere Node.js versie (v18 LTS) als v20 problemen geeft.
### β De pagina laadt niet of blijft leeg
**Oplossing:**
1. Check of de server draait (je zou `β Nuxt ready` moeten zien in je terminal)
2. Probeer de browser cache te legen (Ctrl+Shift+R of Cmd+Shift+R)
3. Open http://localhost:3000 in een incognito/privΓ© venster
### π‘ Hulp nodig?
Kom naar de docent of klassgenoot! Samen kom je er altijd uit. π€
---
**Made for GLR students** β€οΈ