GitXplorerGitXplorer
A

random-rest-api

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
d01f386ffc1a2891c17ddfe1abc6c2084a38c92e

Add a simple readme

AAlcaDesign committed 6 years ago
Unverified
67a407fcffb693fcd0a7b0ab67624f713cab1820

Init

AAlcaDesign committed 6 years ago

README

The README file for this repository.

Random REST API

It was just a random idea at first before it actually became something. It's integrated with Twitch. You can log in to Twitch, accept the app, and see your isplay name and profile image in the corner.

Install

git clone git@github.com:AlcaDesign/random-rest-api.git
cd random-rest-api
npm install
# Set up a .env file or whatever
node server.js

Required environment details:

HTTP_PORT=7500

MONGO_DB=random-rest-api
MONGO_USER=random-rest-api
MONGO_PASS=<secrets>

TWITCH_CLIENT_ID=<kinda-secrets>
TWITCH_CLIENT_SECRET=<secrets>
TWITCH_REDIRECT_URI=<url>
TWITCH_SCOPES=scope:a scope:b scope:c

JWT_SECRET=<secrets>

Then open http://localhost:7500.