GraphCMS⨯React.js
该示例演示了如何使用graphql-request从GraphCMS查询。
•
如何使用
手动下载
npx degit graphcms/graphcms-examples/with-reactjs with-reactjs
安装并运行:
cd with-react-js
npm install
npm run dev
# or
cd with-react-js
yarn
yarn dev
在Codesandbox上运行
React商务
是使用Node.js,React和GraphQL构建的无头商务平台。 它可以与npm,Docker和Kubernetes完美结合。
入门
请按照文档为所有受支持的操作系统安装“ Reaction with ”。
在Docker容器中启动应用程序(推荐)
bin/setup # do this after initial clone and after every pull or checkout
docker-compose up -d # starts a MongoDB
:sparkles: React-Portfolio
重构了一个Google图书搜索应用程序以使用MERN和GraphQL!
:bellhop_bell: 用户故事
AS AN avid reader
I WANT to search for new books to read
SO THAT I can keep a list of books to purchase
:page_with_curl: 验收标准
GIVEN a book search engine
WHEN I load