Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/girardinsamuel/pingcrm-masonite
PingCRM Inertia.js demo with Masonite/Vue.js
https://github.com/girardinsamuel/pingcrm-masonite
inertiajs masonite-framework vuejs
Last synced: 25 days ago
JSON representation
PingCRM Inertia.js demo with Masonite/Vue.js
- Host: GitHub
- URL: https://github.com/girardinsamuel/pingcrm-masonite
- Owner: girardinsamuel
- License: mit
- Created: 2020-09-18T15:35:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-28T21:50:12.000Z (over 3 years ago)
- Last Synced: 2024-08-04T01:05:43.128Z (3 months ago)
- Topics: inertiajs, masonite-framework, vuejs
- Language: Vue
- Homepage:
- Size: 2.87 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-inertiajs - Ping CRM / Masonite - Demonstration application made with Masonite and Vue.js. (Resources / Examples)
README
# Ping CRM
A demo application to illustrate how Inertia.js works with:
- Server-side adapter: [masonite-inertia](https://github.com/girardinsamuel/masonite-inertia.git) for [MasoniteFramework](https://github.com/MasoniteFramework/masonite)
- Client-side adapter: [inertia.js]() for [Vue.js](https://github.com/vuejs/vue)🎉 [https://pingcrm-masonite.herokuapp.com/](https://pingcrm-masonite.herokuapp.com/)
> ![](screenshot.png)
![](demo.mov)
Disclaimer :
- the demo is based on the [official Inertia.js demo](https://github.com/inertiajs/pingcrm.git) (for the Vue part)
- there are still bugs because it's a WIPThis demo is using [masonite-js-routes](https://github.com/girardinsamuel/masonite-js-routes) to publish routes client-side and `ziggy-js` which provides a very handy `route()` helper in Javascript !
## Installation
Clone the repo locally:
```sh
https://github.com/girardinsamuel/pingcrm-masonite.git pingcrm
cd pingcrm
```Install Python dependencies:
```sh
pip install -r requirements.txt
```Install NPM dependencies:
```sh
npm ci
```Build assets:
```sh
npm run dev
```Setup configuration:
```sh
cp .env.example .env
```Generate application key and add it to `APP_KEY` in `.env` file:
```sh
python craft key
```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
python craft migrate
```Run database seeder:
```sh
python craft seed:run
```Run the dev server (the output will give the address):
```sh
python craft serve
```You're ready to go! Visit Ping CRM in your browser, and login with:
- **Username:** [email protected]
- **Password:** secret## Running tests
There is no tests yet for this demo of Ping CRM.
## Deploying in production (Heroku)
```
npm run prod
git checkout production
git merge master
# main or master only can be deployed to prod in Heroku
git push heroku production:master
``````
heroku run craft migrate
``````
heroku run craft seed:run
```