This is the client side application that accesses the openmoney-api.
openmoney.network or net.openmoney.gift
git clone https://github.com/deefactorial/openmoney-network
cd openmoney-network
npm install
sudo npm install -g grunt
grunt
#ctrl-c to exit
You must have the openmoney-api installed and running on port 8080. Nginx is used to host the client code base and api end points on the same port(80) by using a reverse proxy of the port 8080 which is running the api.
sudo apt-get install nginx
sudo cp openmoney-network.nginx.conf /etc/nginx/sites-available/default
sudo gedit /etc/nginx/sites-available/default #modify the root path and the location / alias path to this repo path
sudo service nginx reload
google-chrome http://localhost
It is strongly recommended to setup ssl for nginx if you are hosting locally, Lets Encrypt is a free service to get SSL certificates.
Copyright [2016] [Dominique Legault]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.