This repository contains the core API backend for Travel-Agency-Fairytale. The API is designed to communicate with external services and aggregate travel-related data for downstream applications.
This API serves to:
- Integrate with various external travel services
- Aggregate and normalize data from external sources
- Provide unified endpoints for consuming aggregated travel data
- Connects to multiple external travel data providers
- Collects and merges data such as destinations, accommodations, pricing, and availability
- Exposes RESTful endpoints for client consumption
- Clone the repository:
git clone https://github.com/Travel-Agency-Fairytale/api.git
- Install dependencies:
- Requires PHP and Composer
- For JavaScript dependencies, use npm or yarn
sail composer install sail npm install
- Configure environment variables:
- Copy .env.example to .env and set the relevant variables for external service keys, database, etc.
cp .env.example .env
- Run migrations (if needed):
-
sail artisan migrate
- Start the development server:
-
sail up -d
Pull requests and issues are welcome! Please review contributing guidelines before proposing changes.