A hotel booking system for a fictional island in the Yrgopelag archipelago. Built as a school project for the courses Programmering and Datakällor.
This web application allows guests to browse rooms, check availability, and book stays at the hotel. The system integrates with the Yrgopelag Central Bank API for handling payments via transfer codes.
- PHP - Backend logic and API integration
- SQLite - Database for storing bookings and room data
- JavaScript - Frontend interactivity
- Composer - PHP dependency management
- HTML/CSS - Frontend markup and styling
-
Clone the repository
git clone https://github.com/yourusername/yrgopelag.git cd yrgopelag -
Install dependencies
composer install
-
Copy the environment file and add your API credentials
cp .env.example .env
-
Update
.envwith your Central Bank credentialsCENTRALBANK_USER=YourName CENTRALBANK_API_KEY=your-api-key -
Start the development server
cd public php -S localhost:8000 -
Open http://localhost:8000 in your browser
This project is licensed under the MIT License - see the LICENSE file for details.