GithubHelp home page GithubHelp logo

rswifty / dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sneakercop/dashboard

0.0 0.0 0.0 32.91 MB

User dashboard for Kleidi group users (Stripe)

CSS 13.62% JavaScript 54.39% HTML 31.99%

dashboard's Introduction

Dashboard

User dashboard for Kleidi group users (Stripe)

Deploy

Setting up Enviromental Variables for Production

Setting up the dashboard is a fairly easy process and will require you to collect very specific values to make everything work together.

Name Value / Description
MONGODB_URI The existing MongoDB URI that you're currently using for your keybot server.
SESSION_SECRET Random String Value (Can generate one here: https://www.guidgenerator.com)
DISCORD_CLIENT_ID Existing Discord Developers Client ID that is being used for your keybot server.
DISCORD_CLIENT_SECRET Existing Discord Developers Client Secret that is being used for your keybot server.
DISCORD_BOT_TOKEN Existing Discord Developers Bot Token that is being used for your keybot server.
DISCORD_CALLBACK Callback URL that must be set as an OAuth Redirect on the Discord Developers Site. Example: http://mydomain.com/auth/discord/callback
STRIPE_PUBLIC_KEY Existing Stripe Public Key being used on your keybot server.
STRIPE_PRIVATE_KEY Existing Stripe Private Key being used on your keybot server.
GUILD_ID ID pertaining to your Discord Group. Can be found here, if your Discord is in Developers Mode: https://i.imgur.com/AqATMum.png

Discord OAuth Redirect

Log into the Discord Developers Website and click on your desired application. To the left, you'll see a section called "OAuth2". Add and save a redirect URL named https://<YOUR DOMAIN HERE>/auth/discord/callback and be sure to click Save Changes

Stripe Webhooks

When logged into your Stripe account, going under Developers > Webhooks click the Add Endpoint button and set the value as https://yourdomain.com/webhooks/stripe and then click Add Endpoint when you're done.

dashboard's People

Contributors

dzt 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.