An Apollo standalone Graphql server used as backend for frontend exercise Phonebook-react-apollo. Exercise from Helsinki Univeristy's course Open Full Stack - part 8/a.
git clone
npm install
- In the root folder create
.env
file with following keys:
MONGODB_URI = 'mongodb+srv://fullstack:[email protected]/repos?retryWrites=true&w=majority'
JWT_SECRET = 'secret'
npm start
serving on http://localhost:4000
To use Apollo Expolorer open a browser Tab at http://localhost:4000