An API made with Laravel for Hafze poems and their interpretations.
Once you cloned the repo via git clone https://github.com/evokelektrique/hafez_divination, you need to import the data with the custom command line php artisan import:hafez and the application is ready to use.
// Receive all: /api/poems
// => [{id: 374, "poem":...
// Receive a random poem: /api/poems/random
// => {id: 374, "poem":...
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
