A demo application to illustrate how Inertia.js works with Laravel and React.
This is a port of the original Ping CRM written in Laravel and Vue.
Clone the repo locally:
git clone https://github.com/liorocks/pingcrm-react.git
cd pingcrm-reactInstall PHP dependencies:
composer installInstall NPM dependencies:
npm installBuild assets:
npm run devSetup configuration:
cp .env.example .envGenerate application key:
php artisan key:generateCreate an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
touch database/database.sqliteRun database migrations:
php artisan migrateRun database seeder:
php artisan db:seedRun artisan server:
php artisan serveYou're ready to go! Visit Ping CRM in your browser, and login with:
- Username: johndoe@example.com
- Password: secret
To run the Ping CRM tests, run:
php artisan test
- Original work by Jonathan Reinink (@reinink) and contributors
- Port to Ruby on Rails by Georg Ledermann (@ledermann)
- Port to React by Lio (@liorocks)
