This project relies on PubNub for sending and receiving messages in realtime(Publish/Subcribe). Hence you need to sign up for a PubNub account and grap your API Keys from your dashboard. if you already have an account, grab your API keys and move on to the next step
This project relied on PubNub's storage and playback feature to fetch messages that have been published overtime since it uses no database. This means you have to turn the feature on right on your PubNub dashboard.
After cloning this project, add your API keys(Publish, Subcribe) and channel id(You can call it test of whatever) in
src/config.js
{
/**Replace with your channel ID, maybe "test" or whatever */
channelId: '<your channel id>',
/**Replace with your Pub keys */
publishKey: <your publish key>,
/**Replace with your SUB keys */
subscribeKey: <your subscribe key>,
/**Replace with your google client ID more details here: https://developers.google.com/identity/sign-in/web/sign-in */
googleClientId: <your google client id>
};
This project uses google oauth to sign users into the app. Follow these steps to get your client id and make sure to make in src/config.js
Install dependencies with yarn
or npm
yarn
or
npm install
yarn start
or
npm run start
For buliding, deployment and other stuff, check the Create React App docs, this project was bootsratpped with it
MIT
I'm @MarvinJudeHK on twitter