Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ishanvyas22/cakephp-pingcrm

A demo application to illustrate how Inertia.js works with CakePHP.
https://github.com/ishanvyas22/cakephp-pingcrm

cakephp cakephp4 demo-application inertia inertiajs javascript react spa vuejs

Last synced: 3 months ago
JSON representation

A demo application to illustrate how Inertia.js works with CakePHP.

Awesome Lists containing this project

README

        

# CakePHP - PingCRM

A demo application to illustrate how Inertia.js works with CakePHP.

![](https://raw.githubusercontent.com/ishanvyas22/cakephp-pingcrm/master/screenshot.png)

## ❤️ Support The Development
**Do you like this project? Support it by donating:**


Buy Me A Coffee



**or** [Paypal me](https://paypal.me/IshanVyas?locale.x=en_GB)

**or** [![Contact me on Codementor](https://www.codementor.io/m-badges/isvyas/get-help.svg)](https://www.codementor.io/@isvyas?refer=badge)

### Follow me
- [GitHub](https://github.com/ishanvyas22)
- [Instagram](https://www.instagram.com/ishancodes)
- [LinkedIn](https://www.linkedin.com/in/ishan-vyas-314111112)
- [Twitter](https://twitter.com/ishanvyas22)

## Installation

1. Download the repo locally:

Via [composer](https://getcomposer.org/):
```sh
composer create-project ishanvyas22/cakephp-pingcrm
```

**or**

Via cloning the git repo:
```sh
git clone [email protected]:ishanvyas22/cakephp-pingcrm.git
```

2. Install PHP dependencies:

```sh
composer install
```

3. Install NPM dependencies:

```sh
npm install
```

4. Build assets:

```sh
npm run dev
```

## Setup

1. Create `.env` file

```sh
cp config/.env.example config/.env
```

2. Connect to database. Create a database of your choice, and simply update your configuration accordingly.

Run database migrations:
```sh
bin/cake migrations migrate
```

Run database seeder:
```sh
bin/cake migrations seed --seed=DatabaseSeed
```

3. Run the dev server (the output will give the address):

```sh
bin/cake server
```

You're ready to go! Visit CakePHP PingCRM in your browser, and login with:

- **Username:** [email protected]
- **Password:** secret