biteit/nette-react-graphql
Composer 安装命令:
composer create-project biteit/nette-react-graphql
包简介
Basic working project with React frontend with UrQL, Nette + Nextras ORM backend and GraphQL integration including query codegen.
README 文档
README
This is a basic project that includes PHP Nette + Nextras ORM as backend and using React + UrQL for GraphQL api.
- run
composer install - create
config.local.neoninconfigfolder - enter
www/appfolder - run
yarn installornpm install - go into
www/app/graphqlfolder and run shema generation fromschema.graphqlfile - run
yarn schemato generate GraphQL schema for React - run your PHP server in the
wwwfolder (iephp -S localhost:8000) - run the React app (by running
yarn startin thewww/appfolder) - your React App should start and you should see
Hello Worldin the console - that means the test GraphQL query ran successfuly.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-14