Go to file
Jonathan Reinink 719e61c1fb Update config files 2020-07-29 10:12:08 -04:00
.github Add funding file 2020-03-30 13:35:22 -04:00
app Update "resolveRouteBinding" method signature 2020-07-29 10:11:41 -04:00
bootstrap Install Laravel 2019-03-05 16:10:11 -05:00
config Update config files 2020-07-29 10:12:08 -04:00
database Upgrade to Laravel 6 2019-10-17 11:01:26 +01:00
public Initial commit 2019-03-21 19:58:19 -04:00
resources Update messaging on dashboard 2020-07-29 09:49:48 -04:00
routes Force debug mode for this endpoint in the demo environment 2019-12-18 17:13:57 -05:00
storage Initial commit 2019-03-21 19:58:19 -04:00
tests Retrieve props from inside page object 2019-04-24 13:35:16 +01: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
Procfile Add Heroku Procfile 2019-12-18 13:33:19 -05:00
artisan Install Laravel 2019-03-05 16:10:11 -05:00
composer.json Update dependencies 2020-01-02 13:41:15 -05:00
composer.lock Bump symfony/http-foundation from 4.4.2 to 4.4.7 2020-03-30 22:09:48 +00:00
package-lock.json Bump acorn from 6.4.0 to 6.4.1 2020-03-14 08:39:35 +00:00
package.json Remove axios dependency 2020-01-08 22:23:39 -05:00
phpunit.xml Removed duplicate SESSION_DRIVER entry in phpunit.xml 2019-04-09 12:31:53 +09:00
readme.md Merge pull request #35 from djm/patch-1 2020-01-08 22:38:37 -05: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.config.js WIP 2019-12-18 13:28:09 -05:00
webpack.mix.js Merge branch 'master' into pr/21 2020-01-08 22:16:10 -05: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 ci

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

Run the dev server (the output will give the address):

php artisan serve

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

Running tests

To run the Ping CRM tests, run:

phpunit