https://github.com/thalkod/bitcointalk-campaign
A campaign manager engine, using the Bitcointalk-api to manage list of campaign participant...
https://github.com/thalkod/bitcointalk-campaign
Last synced: 6 months ago
JSON representation
A campaign manager engine, using the Bitcointalk-api to manage list of campaign participant...
- Host: GitHub
- URL: https://github.com/thalkod/bitcointalk-campaign
- Owner: ThalKod
- License: mit
- Created: 2018-07-10T21:22:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T04:25:37.000Z (over 6 years ago)
- Last Synced: 2025-02-14T15:49:48.856Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 367 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bitcointalk-Campaign
This is the campaign engine part, responsible for fetching user and update database...
API part can be found [here](https://github.com/ThalKod/Bitcointalk-API).
## OVERVIEW
Basically the Engine connect to the database and retrieve the list of current user. First check whether or not a user is using the current signature campaign for his level, if not, delete him from the database. Then it fetch the today post count of the users and update the database. Repeat this each 24h.
### Intallation
#### Setup the API:
```js
$ npm install
$ nodemon
```By default the api is listening on localhost port 5000 or any local env variable if setup.
#### Setup the Engine:
* First you need to configure the config files for the api and database at /config/api.js & /config/db.js
* Second you need to configure the signature, in /config/signature.js you need to input the corresponding
HTML RENDERED signatures for each different level of user, you can check the rendered signature with the api by a GET/ call to /users/:uid/signature```js
$ npm install
$ nodemon
```