A Simple CRUD using GraphQL
To run this graphql server you need to:
git clone
yarn
or npm install
yarn watch
or yarn build && yarn update-scehma && yarn start
http://localhost:5000/graphql
Queries and Mutations that can be made:
Query | Description |
---|---|
users |
returns a bunch of users |
user |
returns a specific user |
tweets |
returns a bunch of tweets |
tweet |
returns a specific tweet |
Query | Description |
---|---|
TweetAdd |
Adds a new Tweet |
TweetEdit |
Edit a field from the tweet |
LoginEmail |
Generates a Token JWT for the user |
RegisterEmail |
Adds a new user to the database |
ChangePassword |
Changes the user password |