Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 699 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 699 Bytes

Coding Garden API

An API for the Coding Garden YouTube / Twitch channel.

Endpoints

  • GET /patreon/pledges
  • GET /youtube/members
  • GET /youtube/stats

Configuration

npm install
cp .env.sample .env # update accordingly

Copy src/services/youtube/members.config.sample.js to src/services/youtube/members.config.js and update accordingly. Needed values can be found by inspecting network traffic in the YouTube Dashboard: https://studio.youtube.com/channel/channel-id-here/monetization/memberships.

cp src/services/youtube/members.config.sample.js src/services/youtube/members.config.js

Lint

npm run lint

Development

npm run dev