- GIT installed
- NPM installed
-
Navigate to and/or create the directory where you want to install the app.
-
In terminal/shell, enter:
git clone git@github.com:MackRoe/slack-clone.git
-
Then, still in terminal, do:
npm install
to install the needed node modules. -
To run the app, enter:
npm start
and navigate tolocalhost:4000/graphql
in your browser.
Queries are added on the left and the data returned appears on the right. To send a query, click the run [>] button.
Subscriptions must be running in seperate tab
`subscription NewPost { newPost { message date } }
subscription NewChannel { newChannel { name } }`
{ getChannels { name } }