This project aims to get GraphQL
query
and mutation
examples from the client side made for MERN
stack development.
The client allows you to connect with the GraphQL API
it requests a user list and also adding users as example.
Was designed on TypeScript
for GraphQL
has JWT
authorization implemented for users from the client app and also
for Apollo Client
web tool.
Run your queries safely on this tool even in your future production environment with the auth middleware implemented.
I have a REST service on express for login
and logout
users in a secure mode isolated from GraphQL.
- React application with create-react-app
- Redux
- Material Design
- Sign Up, Sign In, Sign Out (REST isolated service using redux for react)
- API GraphQL with Apollo Client
- Node.js with Apollo Server on TypeScript
- API with Queries, Mutations, Subscriptions + examples
- CLIENT listing users through GraphQL and add new ones
- Entities: users and workspaces
- Authentication powered by JWT (React client)
- Protected server endpoints by middleware + Apollo interface
Go to ./app
and ./api
folders and follow their README files 😊👍