Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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`