在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):atherosai/next-react-graphql-apollo-hooks开源软件地址(OpenSource Url):https://github.com/atherosai/next-react-graphql-apollo-hooks开源编程语言(OpenSource Language):TypeScript 80.5%开源软件介绍(OpenSource Introduction):High performance Next + React + GraphQL starter kitThe purpose of this starter kit is not to be complete solution, but introduction for creating high performance websites with Next.js, React and GraphQL. We use this repository for new projects at Atheros Intelligence and as the repository for our articles at GraphQL Mastery
Node.js versionEven though that the starter kit should work with older "engines": {
"node": ">=10.0.0",
"npm": ">6"
}, Technologies & main features
Production usageIn order to achieve the best performance you should have enabled http/2 and also enable compression in your reverse proxy (nginx). Up to date Node.js server is also very benefitial. Environment configurationThe solution for environment variables is built using dotenv library and two environment variables. Well known NODE_ENV=development
CUSTOM_ENV=local
PORT=3000
API_URL=http://localhost:3000/graphql
HOST=http://localhost:3000 Security and auditYou can run security audit on dependencies with. Be sure that you use
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论