Go to file
Jonathan Reinink ce9913e28b
Merge pull request #12 from Juhlinus/master
Removed duplicate SESSION_DRIVER entry in phpunit.xml
2019-04-09 06:45:01 -04:00
app Add organizations index tests 2019-04-08 09:40:13 -04:00
bootstrap Install Laravel 2019-03-05 16:10:11 -05:00
config Install Laravel 2019-03-05 16:10:11 -05:00
database Rename default user 2019-04-01 12:15:14 -04:00
public Initial commit 2019-03-21 19:58:19 -04:00
resources Fix bug with Inertia prop validation 2019-04-05 07:09:36 -04:00
routes Made the single-purpose controllers into invokable controllers instead. 2019-04-07 20:58:46 +09:00
storage Initial commit 2019-03-21 19:58:19 -04:00
tests Add organizations index tests 2019-04-08 09:40:13 -04:00
.babelrc Initial commit 2019-03-21 19:58:19 -04:00
.editorconfig Install Laravel 2019-03-05 16:10:11 -05:00
.env.example Optimize for SQLite by default 2019-04-02 13:05:26 -04:00
.eslintrc.js Initial commit 2019-03-21 19:58:19 -04:00
.gitattributes Install Laravel 2019-03-05 16:10:11 -05:00
.gitignore Initial commit 2019-03-21 19:58:19 -04:00
LICENSE Add license 2019-04-01 13:40:03 -04:00
artisan Install Laravel 2019-03-05 16:10:11 -05:00
composer.json Loosen PHP version requirement 2019-04-05 09:31:41 -04:00
composer.lock Loosen PHP version requirement 2019-04-05 09:31:41 -04:00
package-lock.json Update inertia and inertia-vue dependencies 2019-04-03 16:45:43 -04:00
package.json Update Inertia to Github dependency 2019-04-01 12:02:07 -04:00
phpunit.xml Removed duplicate SESSION_DRIVER entry in phpunit.xml 2019-04-09 12:31:53 +09:00
readme.md Add organizations index tests 2019-04-08 09:40:13 -04:00
screenshot.png Add screenshot 2019-04-04 15:58:04 -04:00
server.php Install Laravel 2019-03-05 16:10:11 -05:00
tailwind.js Initial commit 2019-03-21 19:58:19 -04:00
webpack.mix.js Initial commit 2019-03-21 19:58:19 -04:00

readme.md

Ping CRM

A demo application to illustrate how Inertia.js works.

Installation

Clone the repo locally:

git clone https://github.com/inertiajs/pingcrm.git pingcrm
cd pingcrm

Install PHP dependencies:

composer install

Install NPM dependencies:

npm install

Build assets:

npm run dev

Setup configuration:

cp .env.example .env

Generate application key:

php artisan key:generate

Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.

touch database/database.sqlite

Run database migrations:

php artisan migrate

Run database seeder:

php artisan db:seed

You're ready to go! Visit Ping CRM in your browser, and login with:

Running tests

To run the Ping CRM tests, run:

phpunit