(Deprecated) Example apps built with Nymph.
This repository has been archived on 2026-03-31. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • HTML 62.6%
  • JavaScript 30.8%
  • Shell 6.6%
Find a file
2021-08-14 09:21:22 -07:00
examples Fix JWT token. 2021-01-11 16:26:36 -08:00
.buildpacks Correct multi buildpack setup. 2015-02-16 16:24:12 -08:00
.gitattributes Added Prettier formatting. 2019-06-11 18:31:48 -07:00
.gitignore Update examples for new client library layouts. Remove separate Tilmeld configs. Migrate Svelte example to Svelte 3. 2019-05-01 19:04:00 -07:00
.prettierrc Added Prettier formatting. 2019-06-11 18:31:48 -07:00
composer.json Update packages, node, and rest. 2019-06-28 13:46:35 -07:00
composer.lock Update packages, node, and rest. 2019-06-28 13:46:35 -07:00
install-and-build.sh Update packages. 2019-05-31 23:38:59 -07:00
LICENSE Updated license file. 2017-06-16 19:04:05 -07:00
nodeconnect.js Update packages, node, and rest. 2019-06-28 13:46:35 -07:00
package-lock.json Update packages, node, and rest. 2019-06-28 13:46:35 -07:00
package.json Update packages, node, and rest. 2019-06-28 13:46:35 -07:00
phpcs.xml Added PHP formatting. 2019-06-11 18:35:17 -07:00
push.sh Better Tilmeld config. Updated Node client script with Tilmeld stuff. Updated for new Nymph client version. Todo JS only in UMD. 2017-11-15 17:23:28 -08:00
README.md Add deprecation notice. 2021-08-14 09:21:22 -07:00
update.sh Update packages. 2019-05-31 23:38:59 -07:00

Nymph Examples - collaborative app data

Open Issues License

This repository contains example apps built with the Nymph ORM. For more information, you can see the main Nymph repository.

This is also the repository that is hosted on Heroku as the Nymph demos.

Deprecation Notice

The PHP implementation of Nymph/Tilmeld has been deprecated. It will no longer have any new features added. Instead, a new version of Nymph running on Node.js, written entirely in TypeScript will replace the PHP implementation. You can find it over at the Nymph.js repo.

Installation

In the main Nymph repo, there is a Docker setup that will do all of this for you with one command.

Set up a PHP server with MySQL on your localhost.

Set up a MySQL database called nymph_example and a user called nymph_example with the password "omgomg". Grant all permissions on `nymph_example` to `localhost`.`nymph_example`.

Clone this repository into your web server.

git clone https://github.com/sciactive/nymph-examples.git
cd nymph-examples

Run the following command in the repository's directory:

composer install

Now start the PubSub server with:

php examples/pubsub.php

Now you can see the example apps (assuming your server is on port 8080):

And you can run the Node example with:

node nodeconnect.js

Setting up a Nymph Application

For a thorough step by step guide to setting up Nymph on your own server, visit the Setup Guide.

API Docs

Check out the API Docs in the wiki.