A fun multiplayer online game to provide lots of laughs and bonding time. Write the funniest phrase for a random gif and make your friends laugh out loud.
- OAuth 2.0 with Google
- React Context API and Hooks (useState, useContext)
- WebSockets
- Webpack
- Fork and Clone repo locally
- Add .env file in root directory and include the following key-value pairs
API_KEY= <YOUR GIPHY API KEY>REACT_APP_CLIENT_ID= <YOUR GOOGLE OAUTH CLIENT ID>- (not necessary if GoogleOAuth is not rendered)
npm installnpm run build- Start a Live Share session on VS Code
- Invite friends to your Live Share or send them the link
npm start- Make sure to be sharing your
localhost:3333server through Live Share - Have all your friends go to http://localhost:3333 on their browsers
- HAVE FUN! and come back to star our repo ⭐
- Fork and Clone repo locally
- Add .env file in root directory and include the following key-value pairs
API_KEY= <YOUR GIPHY API KEY>REACT_APP_CLIENT_ID= <YOUR GOOGLE OAUTH CLIENT ID>- (not necessary if GoogleOAuth is not rendered)
- Find your computer's IPAddress (IPv4) (Check out this link to go to your network - https://osxdaily.com/2011/10/05/find-router-ip-address-mac/)
- In index.js update the socket io connection argument (line 9) to
'YourIPAddress':3333 npm installnpm run buildnpm start- On a different computer's browser, go to
'YourIPAddress':3333 - HAVE FUN! and come back to star our repo ⭐