https://github.com/ramsescupps/laravel-inertia-react-boilerplate
https://github.com/ramsescupps/laravel-inertia-react-boilerplate
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ramsescupps/laravel-inertia-react-boilerplate
- Owner: ramsescupps
- License: mit
- Created: 2024-08-29T17:25:46.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-08-29T17:26:03.000Z (9 months ago)
- Last Synced: 2025-01-30T08:19:05.824Z (4 months ago)
- Language: TypeScript
- Size: 813 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ping CRM React
A demo application to illustrate how [Inertia.js](https://inertiajs.com/) works with [Laravel](https://laravel.com/) and [React](https://reactjs.org/).
> This is a port of the original [Ping CRM](https://github.com/inertiajs/pingcrm) written in Laravel and Vue.

## Installation
Clone the repo locally:
```sh
git clone https://github.com/landish/pingcrm-react.git
cd pingcrm-react
```Install PHP dependencies:
```sh
composer install
```Install NPM dependencies:
```sh
npm install
```Build assets:
```sh
npm run dev
```Setup configuration:
```sh
cp .env.example .env
```Generate application key:
```sh
php artisan key:generate
```Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
```sh
touch database/database.sqlite
```Run database migrations:
```sh
php artisan migrate
```Run database seeder:
```sh
php artisan db:seed
```Run artisan server:
```sh
php artisan serve
```You're ready to go! [Visit Ping CRM](http://127.0.0.1:8000/) in your browser, and login with:
- **Username:** [email protected]
- **Password:** secret## Running tests
To run the Ping CRM tests, run:
```
php artisan test
```## 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)