Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shawon922/frontend-boilerplate-cakephp
A frontend boilerplate built on CakePHP 3.8.*
https://github.com/shawon922/frontend-boilerplate-cakephp
Last synced: 5 days ago
JSON representation
A frontend boilerplate built on CakePHP 3.8.*
- Host: GitHub
- URL: https://github.com/shawon922/frontend-boilerplate-cakephp
- Owner: shawon922
- Created: 2019-10-10T09:25:33.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-05T21:12:44.000Z (about 3 years ago)
- Last Synced: 2024-04-17T05:49:42.262Z (7 months ago)
- Language: PHP
- Size: 344 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CakePHP API based Application Skeleton for frontend
A skeleton for creating applications with [CakePHP](https://cakephp.org) 3.x.
# Installation & Setup
1. Download [Composer](http://getcomposer.org/doc/00-intro.md) or update `composer self-update`.
2. Download this repository - `git clone [email protected]:shawon922/frontend-boilerplate-cakephp.git`
3. Install dependencies with composer - `composer install`.
4. Copy ``.env.default`` and rename it to ``.env`` in ``config`` directory. Set ``APP_BASE_URL`` and ``API_BASE_URL`` without trailing slash.
5. Copy ``app.default.php`` and rename it to ``app.php`` in ``config`` directory.
6. Start the server `bin/cake server -p 8765`.
7. Go to http://localhost:8765 in your browser.## As API will communicate with database, so we are not using any database configuration in ``app.php``. We are using a dummy database driver in ``app.php``. The dummy database driver is located here ``src/Database/Driver/Dummy.php``.
# API call