Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/friendsofcake/crud-demo-app
Demo app for CRUD, CRUD-View and Search
https://github.com/friendsofcake/crud-demo-app
Last synced: about 1 month ago
JSON representation
Demo app for CRUD, CRUD-View and Search
- Host: GitHub
- URL: https://github.com/friendsofcake/crud-demo-app
- Owner: FriendsOfCake
- Created: 2014-05-03T11:24:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T16:01:28.000Z (3 months ago)
- Last Synced: 2024-09-17T20:02:01.820Z (3 months ago)
- Language: PHP
- Homepage:
- Size: 2.02 MB
- Stars: 9
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installation
## Get the source code
### composer
```
composer create-project -s dev friendsofcake/crud-demo-app
cd crud-demo-app
```## Setup the database
Modify ``config/app_local.php`` in the `Datasources` section to reflect your own database.
Create the database schema `bin/cake migrations migrate`.
Seed the database `bin/cake migrations seed`.You can also import the ``config/schema/db.sql`` file into your database instead of using the migrations.
## Create a webserver
```
php -S 0.0.0.0:9999 -t webroot/ index.php
```## Access the website
Go to `http://localhost:9999/posts`