Skip to content

CGI-Move/kyyti-test-task-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kyyti-test-task-server

This is NodeJs(Express) GraphQL server for Kyyti test assignment.

Set up

GraphQL User fields:

  • id: ID!
  • first_name: String!
  • last_name: String!
  • position: String!

GraphQL Querries

  • Users -> Give the list of all users
  • User (id: ID!) -> Give the user with the same id

GraphQL Mutations

  • addUser(first_name: String! last_name: String! position: String!) -> Add user
  • updateUser(id: ID! first_name: String last_name: String position: String) -> Edit user's data (first_name, last_name and position can be empty, in that case they won't be changed )
  • deleteUser(id: ID!) -> Deletes user with the same id

About

Test Assignment for new Kyyti recruits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published