Skip to content
⚛️ Ping CRM React - A demo app to illustrate how Inertia.js works with Laravel and React (hosted on a heroku free dyno).
PHP HTML
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app feat(init): initial commit Jan 6, 2020
bootstrap feat(init): initial commit Jan 6, 2020
config feat(init): initial commit Jan 6, 2020
database feat(init): initial commit Jan 6, 2020
public feat(init): initial commit Jan 6, 2020
resources feat(init): initial commit Jan 6, 2020
routes feat(init): initial commit Jan 6, 2020
storage feat(init): initial commit Jan 6, 2020
tests feat(init): initial commit Jan 6, 2020
.editorconfig feat(init): initial commit Jan 6, 2020
.env.example feat(init): initial commit Jan 6, 2020
.eslintrc.js feat(init): initial commit Jan 6, 2020
.gitattributes feat(init): initial commit Jan 6, 2020
.gitignore feat(init): initial commit Jan 6, 2020
.prettierrc
LICENSE feat(init): initial commit Jan 6, 2020
Procfile feat(init): initial commit Jan 6, 2020
artisan feat(init): initial commit Jan 6, 2020
composer.json feat(init): initial commit Jan 6, 2020
composer.lock feat(init): initial commit Jan 6, 2020
jsconfig.json feat(init): initial commit Jan 6, 2020
package-lock.json feat(init): initial commit Jan 6, 2020
package.json feat(init): initial commit Jan 6, 2020
phpunit.xml feat(init): initial commit Jan 6, 2020
readme.md feat(init): initial commit Jan 6, 2020
screenshot.png feat(init): initial commit Jan 6, 2020
server.php feat(init): initial commit Jan 6, 2020
tailwind.config.js feat(init): initial commit Jan 6, 2020
webpack.mix.js feat(init): initial commit Jan 6, 2020

readme.md

Ping CRM React

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.

Installation

Clone the repo locally:

git clone https://github.com/landish/pingcrm-react.git
cd pingcrm-react

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

Run artisan server:

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

Credits

  • Original work by Jonathan Reinink (@reinink) and contributors
  • Port to Ruby on Rails by Georg Ledermann (@ledermann)
  • Port to React by Lado Lomidze (@landish)
You can’t perform that action at this time.