Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (22 loc) · 801 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 801 Bytes

Please see https://github.com/theADAMJR/1PG for a more comprehensive, and more updated repo.

1PG Demo

This is a demo of 1PG and was made during a course.

Setup

Make a file config.json:

{
  "bot": {
    "id": "<bot_id>",
    "secret": "<client_secret>",
    "token": "<bot_token>"
  },
  "dashboardURL": "http://localhost:3000",
  "mongoURI": "mongodb://localhost/1PG-Demo"
}

Make sure config.json is in .gitignore.

This will help secure your bot token, and make sure your bot does not get hacked.

Set Redirect URIs

In the Developer Portal -> Your Application -> OAuth2