- Clone the repo via this url
git@github.com:vickris/songs-demo.git
- Get inside the project folder
cd songs-demo
- Create a
.env
file by running the following commandcp .env.example .env
. Update your database credentials inside this.env
file. - Install various packages and dependencies:
composer install
. Note: you have to be inside your Laravel development environment for this to work. For those using vagrant, make sure youssh
into Vagrant before runningcomposer install
. - Generate an encryption key for the app:
php artisan key:generate
. - Run migrations and seed database with some sample data:
php artisan migrate:refresh --seed
. - You are now good to go.
forked from vickris/songs-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial code for "How to Create Laravel Eloquent API Resources to Convert Models into JSON".
do-community/songs-demo
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Tutorial code for "How to Create Laravel Eloquent API Resources to Convert Models into JSON".
Resources
Stars
Watchers
Forks
Languages
- PHP 96.1%
- HTML 3.2%
- Vue 0.7%