在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):g00glen00b/whoiswho-graphql开源软件地址(OpenSource Url):https://github.com/g00glen00b/whoiswho-graphql开源编程语言(OpenSource Language):JavaScript 54.3%开源软件介绍(OpenSource Introduction):Spring boot + React + GraphQL ExampleThis project contains a full example of an application developed using GraphQL within the Java ecosystem. The backend uses Spring boot, Spring Data, and the GraphQL Java Kickstart library. The frontend uses React (with React hooks) and the Apollo GraphQL client. InstallationThe backend requires JDK 11+ and can be installed using:
The frontend requires Node.js 12+ can be installed using:
RunningTo run the backend, you need JDK 11+ and you can use the following command:
To run the frontend, you need Node.js 12+ and you can use the following command:
Testing it outThe backend provides a GraphQL Playground to test things out. The playground is located at http://localhost:8080/playground by default.
Authentication happens by passing a JWT token as a header by using the A JWT token can be obtained by calling the
By default, the JWT token is valid for 4 hours, but this can be extended by the use of the The frontend will run at http://localhost:3000. Logging in can be done through the credentials provided above. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论