No description
Find a file
Burton 9f93e151a8
Hash password only once
When a user resets their password, the password would be double hashed and the user locked out of their account.

Ensure we only hash the password if it needs to be hashed. If it has already been hashed, just return the password as-is.
2020-03-20 21:58:34 -07:00
app Hash password only once 2020-03-20 21:58:34 -07:00
bootstrap Install Laravel 2019-03-05 16:10:11 -05:00
config Update config files to match Laravel defaults 2019-12-18 14:16:17 -05: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 Add IE11/Edge polyfills 2020-02-14 14:29:07 -05: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
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 Update dependencies 2020-01-02 13:41:15 -05:00
LICENSE Add license 2019-04-01 13:40:03 -04:00
package-lock.json Remove axios dependency 2020-01-08 22:23:39 -05: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
Procfile Add Heroku Procfile 2019-12-18 13:33:19 -05: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

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