The strategy of turning customers to digital influencers about a product is becoming more and more popular nowadays. In order to increase their motivation to spread the word, companies provide some rewards to them, i.e., when someone installs an application or buy a service referred by another user, the one who invited (or a group of people) receive benefits like a discount, subscription renewed for free, etc.
This application provides a dashboard focused on companies which work together to universities where marketers can create such campaigns, define custom rewards models, track people engagement, and more!
The minimal requirements, in order to run the application is to have Docker and Docker-Compose installed on the host.
If your computer does not run Docker, or you want to build it mannualy, you would require to:
-
Install NodeJS
-
Install Dependencies
# Using npm $ cd /PATH/TO/api && npm install $ cd /PATH/TO/web && npm install # Using yarn $ cd /PATH/TO/api && yarn install $ cd /PATH/TO/web && yarn install
You can build the containers separatedly...
# Build the API
$ cd /PATH/TO/api
$ docker build -t rmd/api .
# Build the Web UI
$ cd /PATH/TO/web
$ docker build -t rmd/web .
... or build them together using docker-compose
$ docker-compose build
$ docker-compose up
# Start the API
$ cd /PATH/TO/api && npm start
# Start the Web UI
$ cd /PATH/TO/web && npm start
Not all API endpoints are implemented in the Web UI, therefore, an import file for Insomnia, including all the API interactions, is available here for checking purpose.
MIT License
Copyright (c) 2019 Claudio Jose Castaldello Busatto
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.