GraphJS REST APIs
This package is auto-updated.
Last update: 2021-04-08 18:14:35 UTC
An event-driven, non-blocking GraphJS Server.
- PHP 7.2+
- PHP extensions: bcmath, sodium, gd, mbstring, simplexml
- Redis: Install
- Neo4j: Install
Heroku is popular cloud provider by Salesforce. To install, just click the button below, and when asked, fill in the form with your email (you don't need to touch any other fields):
WARNING for Heroku installations: Since GrapheneDB (the cloud Neo4J provider) provision takes longer than app's initial build and launch, you will need to wait at least 5 minutes before testing your instance after setup. If it still doesn't work, try rebooting the app after it's built for the first time. This is a common issue first-time Heroku installers are facing, please beware.
Once Heroku is deployed you can test it with the
/whoami command with a GET request to
Feel free to watch this video at https://youtu.be/K7bWKlT0k_g for a preview of the process.
In case, heroku installation is not an option for you, here are the steps to install it manually:
The recommended way to install pho-server-rest is through git. MacOS and most UNIX operating system come with git equipped.
git clone https://github.com/phonetworks/graphjs-server/
If you are on Windows or don't have git preinstalled, you may download and install git from https://git-scm.com/, or just download the graphjs-server zip tarball from https://github.com/phonetworks/graphjs-server/archive/master.zip and extract.
Install the PHP dependencies using Composer.
Create a copy .env.example file as .env file.
Update the .env file.
Set the Neo4j username and password of INDEX_URI. For example:
Set values of FOUNDER_NICKNAME, FOUNDER_EMAIL, FOUNDER_PASSWORD.
Set values of MAILGUN_KEY, MAILGUN_DOMAIN. (Optional)
MIT, see LICENSE.