Sales partner Backend App
A web application to manage sales commissions with the Fury network. WIP
Setup
- make sure node.js is at version >=
6
- clone this repo down and
cd
into the folder - run
yarn install
ornpm install
- run
npm run watch
andnpm start
- this will start the server in development machine
Testing
Tests are located in test/**
and are powered by ava
yarn install
ornpm install
to ensure devDeps are installednpm test
to run test suite
App structure
JavaScript
JS files are located in app/js
. The backend end libary is HapiJS
service.js
app/server.js
is where everything is being put together: The app consists of:
- Some basic server settings
- A simple route resolver for client side routing.