百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

basically-fullstack-graphql

> 前端框架
开源

此代码旨在解释在应用中使用 GraphQL 的客户端和服务器端。

199 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

此代码旨在解释在应用中使用 GraphQL 的客户端和服务器端。

Basically, Full-stack GraphQL

This fairly trivial project aims at introducing a newcomer to GraphQL and the way it works. The code aims to explain the client and the server side of things.

The source code has been heavily commented and documented in order to explain what's going on. It is highly recommended to read through it. Do not be afraid!

See it in action!

The Project

The project is basically a recipe search system to help someone cook yummy things. It works by sending an ingredient as a query to a GraphQL server that retrieves data from (normally, what should be a database) a REST endpoint somewhere on the intrawebs (read: RecipePuppy) that has a nice open API we can query.

This project is literally meant to be a POC and nothing too serious.

Getting Started

To run the example locally, simply clone the repo and run yarn install, then yarn start. The project will be accessible under http://localhost:4000. Be sure to inspect the network requests for more insights into how it all works.

Frequently Asked Questions

  • But what about Redux/VueX?

For this project, my motivation was that I was afraid for the longest time of the server side of GraphQL. HOW DOES IT KNOW WHATS GOING ON IN THE DATA LAYER? So I looked into how it works from zero to deployment, and when I found my answers (and was comfortable enough with them to explain them to others), other developers seemed to have been comforted by this explanation.

In essence, this project aims to be a mass-produced version of that explanation, regardless of UI framework. Basically, it is meant to answer 3 questions:

  • How does GraphQL communicate with a database? (./src/server/resolver)
  • How does GraphQL know about my data? (.src/server/schema)
  • How do I interact with it from my web page? (./src/client/index)

When it comes to frameworks or state managers, we can deal with those in other projects.

Thanks to

  • Vue, for an amazingly versatile bootstrap process.

Happy Coding!

Issues· 1 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptgraphqlnodejsservervue

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架