在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):fortruce/relay-skeleton开源软件地址(OpenSource Url):https://github.com/fortruce/relay-skeleton开源编程语言(OpenSource Language):JavaScript 96.5%开源软件介绍(OpenSource Introduction):React Fullstack SkeletonThis skeleton project is meant to scaffold a fullstack React, Relay, and GraphQL project. The skeleton uses webpack and gulp to manage the build and provide a great development experience. The frontend stack is React, and Relay. All React changes are automatically hot reloaded using react-hot-loader. Also, the backend server is automatically restarted upon any changes using nodemon. Both the server and frontend code are built and transpiled using webpack, while gulp is used primarily to start the webpack-dev-server and nodemon. Getting started
Directory Structure
Typical UsageThis skeleton was designed with typical use case of having a backend api serve
a React SPA. The skeleton automatically proxies all requests to The frontend is automatically hot reloaded whenever you save a file. See react-hot-loader for more details on how this works. It enables you to immediately see changes in React components without losing application state or having to reload your page! The backend server is automatically restarted whenever you save a file.
If, for example, you modify the GraphQL schema, then the GraphQL server will
be restarted to reflect the changes, the ImprovementsThe following improvements need to be made:
I welcome pull requests, but I am trying to keep this skeleton relatively minimal. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论