Test tecnichal for software enginnering
Before installing, download and install Node.js la version utilizada es la v14.
Installation is done using the npm install
command:
$ npm install
this will instal all dependencies for your execute.
write your variable of environment.
- PORT: the port where the server will run
- ENDPOINT: the endpoint to consult the data
- HASURA_SECRET: this permit consult at endpoint
After installing the dependencies run the server:
Start the server:
$ npm run start
{
user {
username
password
}
}
mutation {
login(input: {
username: "needzaio"
password: "123456"
})
}
The original author is JMR-Mejia