Git Product home page Git Product logo

nymph-examples's Introduction

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.

nymph-examples's People

Contributors

hperrin avatar mistermocha avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.