Skip to content
This repository has been archived by the owner on Aug 17, 2019. It is now read-only.

Latest commit

 

History

History
24 lines (17 loc) · 412 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 412 Bytes

git-chat-server

Setup packages

yarn install

Configure environment

Create .env file with context like this:

NODE_ENV=development
MONGO_URL=mongodb://localhost/git-chat
SECRET=SOME_SECRET
GITHUB_CLIENT_ID=ID
GITHUB_CLIENT_SECRET=SECRET
GITHUB_CALLBACK_URL=FRONTEND_URL

Run application

yarn run start:dev

GraphiQL

GraphiQL interface located at http://127.0.0.1:8000/graphiql