Go to file
Hilton Gonçalves 3a75816950
Fix user edit with upload photo
2021-10-09 17:46:16 -03:00
.github Add funding file 2020-03-30 13:35:22 -04:00
app Allow route model binding of trashed models 2021-05-11 19:21:54 -04:00
bootstrap
config Update app to match latest Laravel defaults and best practices 2021-05-10 15:27:31 -04:00
database Update app to match latest Laravel defaults and best practices 2021-05-10 15:27:31 -04:00
public Add SVG favicon 2021-05-10 15:48:19 -04:00
resources Fix user edit with upload photo 2021-10-09 17:46:16 -03:00
routes Update auth to match Breeze controller and login request 2021-05-11 09:35:45 -04:00
storage Initial commit 2019-03-21 19:58:19 -04:00
tests Update app to match latest Laravel defaults and best practices 2021-05-10 15:27:31 -04:00
.editorconfig Update editor config 2020-07-29 10:16:14 -04:00
.env.example Update example environment file 2020-07-29 10:12:52 -04:00
.eslintrc.js Clean up code formatting 2021-02-27 09:14:52 -05:00
.gitattributes
.gitignore Fix coding styles 2020-07-29 10:58:25 -04:00
.php_cs.dist Update app to match latest Laravel defaults and best practices 2021-05-10 15:27:31 -04:00
.prettierrc Clean up code formatting 2021-02-27 09:14:52 -05:00
.styleci.yml Update app to match latest Laravel defaults and best practices 2021-05-10 15:27:31 -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 Update app to match latest Laravel defaults and best practices 2021-05-10 15:27:31 -04:00
composer.json Replace laravel/ui with simplified auth 2021-05-10 17:19:52 -04:00
composer.lock Replace laravel/ui with simplified auth 2021-05-10 17:19:52 -04:00
package-lock.json Upgrade to the latest version of Inertia and the Vue adapter 2021-06-14 08:19:50 -04:00
package.json Upgrade to the latest version of Inertia and the Vue adapter 2021-06-14 08:19:50 -04:00
phpunit.xml Upgrade to Laravel 8 2020-09-08 18:45:49 -04: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
tailwind.config.js Upgrade to Tailwind 2.0 and Laravel Mix 6 2021-02-27 11:29:53 -05:00
webpack.mix.js Simplify Webpack "@" alias setup 2021-06-14 08:04: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 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