Website for MINECRAFT streamers that lets viewers respawn creepers and other mobs, apply an effect on a streamer, play sounds on him for money.
-
React Context API
-
React Hooks API
-
React Router
-
Axios
-
Socket.io
-
Node.js
-
MongoDB ( mongoose )
-
Express
-
Passport
-
Cookie-session
-
Paypal SDK
-
Socket.io
-
Rcon
Create twitch app. https://dev.twitch.tv/console/apps
<script src="https://www.paypal.com/sdk/js?client-id=YOUR__PAYPAL__CLIENT__ID¤cy=PAYPAL__CURRENCY__CODE"></script>
example:
<script src="https://www.paypal.com/sdk/js?client-id=ASdP_WS9QXMVbGR4KG1OoDb104ytezZiy_YKDSne0hgbBm0zS-21hP0i4SnQoVC528F63u14P83KbgI-¤cy=PLN"></script>
- Clone this repo.
- Install heroku CLI
- Create Heroku App
heroku create
git remote -v // Confirm that a remote named heroku has been set.
- Deploy code
git push heroku master
- Set heroku config variables:
COOKIE_KEY: "any string //==// it will encrypt cookie eg. mysecretcookiekey"
MINECRAFT_IP: "ip of your minecraft server"
MINECRAFT_RCON_PASSWORD: "minecraft server rcon password"
MONGO_URI: "URI of your mongoDB"
PAYPAL_CLIENT_ID: ""
PAYPAL_SECRET: ""
TWITCH_CALLBACK: "url which u will be redirected to after twitch auth. eg. https://fathomless-eyrie-41485.herokuapp.com/auth/twitch/callback"
TWITCH_CLIENT_ID: ""
TWITCH_SECRET: ""