version: 1.1.1
A GraphQL API sample with Apollo Server.
Type Safe
Queries
: users/books or user(userName, userEmail)/book(userName)
Mutations
: add/update/delete user or book
To launch the server, you have to execute in terminal this following command :
pnpm start
You need to add a token in .env
file like :
APOLLO_TOKEN=
Then go to the Apollo Studio Explorer and configure the connection.
EndPoint: http://localhost:3000
Suscriptions: wss://localhost:3000
And configure the headers:
Authorization: Bearer yourApolloToken
Now, you can trying to explore API !
👨🏽💻