Allows a server owner to charge members on a subsciption basis using Stripe. Useful template for discord server owners who want to monetize.
- Create a Discord account, create a bot with OAuth2 redirect as
http://<API DOMAIN>/auth/login/callback
, create a server and obtain information below. - Create a Stripe account, obtains api keys and create a subsciption plan.
- Clone the repo
git clone https://github.com/dylan-p-wong/stripe-discord-renewals-dashboard.git
- Install NPM packages
cd backend
npm install
cd ../client
npm install
- Configure config.json in the backend folder and config.json in the client/src folder. Configure environment variables.
In backend
npm run dev
In client
npm start