Giter VIP home page Giter VIP logo

react-graphql-java-example's Introduction

Graphql

*.graphql

graphql 的定义文件在 java-gql-server/src/main/resources/graphql/*.graphql 这个文件群由后端人员维护

schema.graphql

schema.graphql 更新 当 java-gql-server/src/main/resource/graphql 目录下发生更新之后 后端开发者需要重新生成一下 schema.graphql 给前端使用 更新命令为:

  • cd java-gql-server; gradle bootRun;
  • cd mock-gql; yarn schema

java 服务

cd java-gql-server; gradle bootRun

mock 服务

前端 mock 开发的时候使用 cd mock-gql; yarn start

react

cd react-gql; yarn start

jwt 授权部分建议使用 restful, 而不是 graphql, 虽然 gql 也可以

react-graphql-java-example's People

Watchers

ouyangbin avatar

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.