8000 GitHub - smriad/anime-app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

smriad/anime-app

Repository files navigation

Readme

Clone the Repository

git clone https://github.com/smriad/anime-app.git 

Navigate to the project directory:

cd anime-app

Install PHP Dependencies

Install the required PHP dependencies:

composer install   

Set Up Environment File

Copy .env.example to .env

cp .env.example .env

Change .env according your mysql setup -

DB_HOST=127.0.0.1

DB_PORT=3306 DB_DATABASE=anime_db

DB_USERNAME=root

DB_PASSWORD= `

Generate Application Key

php artisan key:generate  

Set Up the Database

php artisan migrate   `

Import Anime Data

To import anime data from the Jikan API:

php artisan anime:import   `

Run the Laravel Development Server

Start the Laravel development server:

php artisan serve   `

The application will be available at http://127.0.0.1:8000.

Test the API

You can test the API by accessing the anime data:

curl http://127.0.0.1:8000/api/anime/{slug} `

Replace {slug} with the actual anime slug.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0