1. Clone the project in local
git clone https://github.com/f24aalam/laravel-inertiajs-todo.git
and switch to cloned project
cd laravel-inertiajs-todo
2. Copy .env.example
to .env
cp .env.example .env
and generate the key php artisan key:generate
3. Create database and update the .env
file accordingly
4. Install dependencies
composer install
npm install && npm run dev
5. Serve the project
php artisan serve
We are using the GraphQL
for exposing the application data to third party, more here about GraphQL and we are using Lighthouse PHP
framework for serving GraphQL from laravel, you can learn more about lighthouse here.