WibuSaka API is a simple REST API for fetching legal streaming platform in Indonesia using your favorite anime lists. (Currently supports MyAnimeList, and Anilist)
Primarily, this project uses Laravel as a framework. This project also uses arm-server and anime-offline-database for fetching anime list ID relations.
Check the API Documentation here.
If you want to deploy for yourself, please follow these instructions.
- PHP 8.1+
- MySQL 5.7+
- Redis
-
Copy
.env.example
into.env
and edit these values- Database
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=YOUR_DATABASE_NAME DB_USERNAME=YOUR_DATABASE_USERNAME DB_PASSWORD=YOUR_DATABASE_PASSWORD
- Redis
REDIS_CLIENT=predis REDIS_SCHEME=tcp REDIS_PATH=YOUR_REDIS_PATH_IF_SCHEME_IS_UNIX REDIS_HOST=127.0.0.1 REDIS_PASSWORD=YOUR_REDIS_PASSWORD REDIS_PORT=6379
-
Install composer packages
composer install
-
Generate Laravel Application Key
php artisan key:generate
-
Run the Migration
php artisan migrate
After installing and configuring everything, run the test to make sure the application running properly.
php artisan test
Contributions are always welcome! Create a pull request here!
This repository used StyleCI to check the code style. You can check the rules here. Also, please make sure to check the existing pull request to avoid duplication.