A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
$ npm install
Install dependencies, create postgres database and add .env
file:
PORT=4000
SECRET='XXXX'
DATABASE_HOST='localhost'
DATABASE_USERNAME='XXXX'
DATABASE_PASSWORD='XXXX'
DATABASE_NAME='XXXX'
mutation login($info: GoogleWebLogin!) {
login(info: $info) {
email,
userId,
token
}
}
{
"info": {
"accessToken": "eeee",
"googleId": "333",
"tokenId": "RE",
"profileObj": {
"googleId": "11111",
"imageUrl": "https://lh3.googleusercontent.com/a-/783",
"email": "farvistadw@gmail.com",
"name": "Alexander Kireev",
"givenName": "Alexander",
"familyName": "Kireev"
}
}
}