{"id":13806064,"url":"https://github.com/jrson83/pingcrm-preact","last_synced_at":"2025-09-27T00:30:49.004Z","repository":{"id":44540240,"uuid":"450661135","full_name":"jrson83/pingcrm-preact","owner":"jrson83","description":"A demo application to illustrate how Inertia.js works with Laravel and Preact.","archived":true,"fork":false,"pushed_at":"2023-01-19T20:01:28.000Z","size":776,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-20T06:30:48.290Z","etag":null,"topics":["inertia","inertiajs","laravel","pingcrm","preact","preactjs","ssr"],"latest_commit_sha":null,"homepage":"https://pingcrm-preact.jrson.de","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jrson83.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["reinink"]}},"created_at":"2022-01-21T22:46:20.000Z","updated_at":"2023-10-03T03:20:02.000Z","dependencies_parsed_at":"2023-01-26T08:01:05.659Z","dependency_job_id":null,"html_url":"https://github.com/jrson83/pingcrm-preact","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrson83%2Fpingcrm-preact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrson83%2Fpingcrm-preact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrson83%2Fpingcrm-preact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrson83%2Fpingcrm-preact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrson83","download_url":"https://codeload.github.com/jrson83/pingcrm-preact/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219871827,"owners_count":16554457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["inertia","inertiajs","laravel","pingcrm","preact","preactjs","ssr"],"created_at":"2024-08-04T01:01:07.513Z","updated_at":"2025-09-27T00:30:48.649Z","avatar_url":"https://github.com/jrson83.png","language":"PHP","funding_links":["https://github.com/sponsors/reinink"],"categories":["Resources"],"sub_categories":["Examples"],"readme":"# Ping CRM\n\nA demo application to illustrate how [Inertia.js](https://inertiajs.com/) works with [Laravel](https://laravel.com/) and the [Inertia.js Preact Adapter](https://github.com/jrson83/inertia-preact).\n\n\u003e This is a modified port of the original Laravel/Vue [Ping CRM](https://github.com/inertiajs/pingcrm) and the Laravel/React [Ping CRM](https://github.com/Landish/pingcrm-react).\n\n![](https://raw.githubusercontent.com/jrson83/pingcrm-preact/main/screenshot.png)\n\n## Conventions\n\nThe demo is using [Laravel Vite conventions](https://laravel-vite.dev/guide/extra-topics/inertia.html#using-the-preset) for a consistent and organized architecture.\n\n- Main entrypoint is `resources/application/main.tsx`\n- SSR entrypoint is `resources/application/ssr.tsx`\n- Components will be placed in the folder `resources/views/components`\n- Layouts will be placed in the folder `resources/views/layouts`\n- Pages will be placed in the folder `resources/views/pages`\n\n## Live demo\n\nA live demo of the app is available at [https://pingcrm-preact.jrson.de/](https://pingcrm-preact.jrson.de/).\n\n\u003e The Ping CRM demo is hosted in Germany, and the database is reset every hour. Please be respectful when editing data.\n\n## Installation\n\nClone the repo locally:\n\n```bash\ngit clone https://github.com/jrson83/pingcrm-preact.git pingcrm-preact\ncd pingcrm-preact\n```\n\nInstall PHP dependencies:\n\n```bash\ncomposer install\n```\n\nInstall NPM dependencies:\n\n```bash\nnpm install\n```\n\nSetup configuration:\n\n```bash\ncp .env.example .env\n```\n\nGenerate application key:\n\n```bash\nphp artisan key:generate\n```\n\nCreate an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.\n\n```bash\ntouch database/database.sqlite\n```\n\nRun database migrations:\n\n```bash\nphp artisan migrate\n```\n\nRun database seeder:\n\n```bash\nphp artisan db:seed\n```\n\nRun the dev server (the output will give the address):\n\n```bash\nphp artisan serve\n```\n\nBuild assets first time \u0026 preview SSR:\n\n```bash\nnpm run preview\n```\n\nYou're ready to go! Visit Ping CRM in your browser, and login with:\n\n- **Username:** johndoe@example.com\n- **Password:** secret\n\n## Running tests\n\nThe tests are not working at the moment. ~~To run the Ping CRM tests, run:~~\n\n```\nphpunit\n```\n\n## Credits\n\n- Original work by Jonathan Reinink (@reinink) and contributors\n- Port to Ruby on Rails by Georg Ledermann (@ledermann)\n- Port to React by Lado Lomidze (@landish)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrson83%2Fpingcrm-preact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrson83%2Fpingcrm-preact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrson83%2Fpingcrm-preact/lists"}