Giter VIP home page Giter VIP logo

hive-login-backend's Introduction

This is the backend for the downvote control tool.

installing and running

npm i

Create a mysql database called "downvote_control_tool"

You'll find the sql script to create the database and the tables in the file database.sql

Then create a file called .env and place it at the root.

In in put data in this format :

DB_USERNAME=username
DB_PASSWORD=password
ENCRYPTION_PW=encryptionpassword

The encryption password should be 32 char long

then edit the file config.js in /bin and change the account_username field to the accounts you have chosen to hold the posting authorities.

You also need to go on https://hivesigner.com/, register the account and set these redirect URIs :

http://localhost:4002/auth/conf
https://yourdomain.com/auth/conf

Once that's done you should be ready to go, to run the backend just run

npm run start

If you use pm2 you can do

pm2 start npm -- start

This is part of a stack

This should be used along with the bot :

https://github.com/drov0/downvote-control-tool-bot

And the front end :

https://github.com/drov0/downvote-control-tools-front

hive-login-backend's People

Contributors

metamars0114 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.