An open API service indexing awesome lists of open source software.

https://github.com/freshbitsweb/laratables-demo-one-to-many

Laratables package - One to Many relationship version demo
https://github.com/freshbitsweb/laratables-demo-one-to-many

Last synced: about 2 months ago
JSON representation

Laratables package - One to Many relationship version demo

Awesome Lists containing this project

README

        

# Demo of Laratables

This repo contains the code for the demo of [Laratables](https://github.com/freshbitsweb/laratables) package.

# Installation

You can also download and run this app locally.

1) Clone the repo:
```
git clone https://github.com/freshbitsweb/laratables-demo-one-to-many.git [DIRECTORY_NAME]
```

2) Create `.env` file from the example file:
```
php -r "file_exists('.env') || copy('.env.example', '.env');"
```

3) Setup .env variables (Mainly APP_URL and DB_DATABASE)

4) Run following commands:
```
composer install
php artisan key:generate
php artisan migrate --seed
```

Done.