indigotech / onboard-pedro-dietrich

Project for onboarding on Taqtile. Consists in a back-end server to learn about Typescript, Node, GraphQL and other tools.
0 stars 0 forks source link

Create mutation for adding a new user #11

Closed pedro-m-dietrich closed 1 week ago

pedro-m-dietrich commented 2 weeks ago

The mutation receives a user input data, creates a user from that by adding a random ID, saves it in a list of users (simulating a database) and returns the user (without the password).