A subscription server to be used with a discord bot. Uses MongoDB to retrieve configuration settings.
This is meant to be a simple youtube subscription server written in JavaScript.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
cd into the directory where you wish to keep the repo and use git clone
git clone https://github.com/SomeStreamsandMaybePanels/Subscription-Server.git
cd into the Subscription-Server directory and use npm install to download all required node-modules
cd Subscription-Server
npm install
End with an example of getting some data out of the system or using it for a little demo.
make sure to have the following variables setup in your .env file
HUB_URL = The URL for your /websub endpoint (push notifications from youtube pubsub will end up here)
PORT = The port that the server will listen through
DATABASE = MongoDB DB name to pull config info from
COLLECTION = MongoDB Collection name to pull config info from