This project uses npm. To install and start the GraphQL server run following commands.
npm install
npm start
Visit http://localhost:4000/graphql and try out following mutation and query.
mutation {
login(email: "[email protected]", password: "qwerty") {
firstName
lastName
}
}
and
query{
currentUser{
firstName
lastName
}
}