Git Product home page Git Product logo

mern-graphql-starter's Introduction

GraphQL API using React + Redux + Material UI + JWT (boilerplate)

PRs Welcome License: MIT

Description

This project aims to get GraphQL query and mutation examples from the client side made for MERN stack development.

Client

The client allows you to connect with the GraphQL API it requests a user list and also adding users as example.

API

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.

Features

  • 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

Installation

Go to ./app and ./api folders and follow their README files ๐Ÿ˜Š๐Ÿ‘

Demo Gif

apollo graphql

React Login

mern-graphql-starter's People

Contributors

isanchezdev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

johnnyhicks95

mern-graphql-starter's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.