在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:socksrust/pantheon-server开源软件地址:https://github.com/socksrust/pantheon-server开源编程语言:JavaScript 99.7%开源软件介绍:React conf ServerCreate-GraphQLIf you want to move faster you should use create-graphql to simplify the creation of a GraphQL Server CommandSetupnpm install Note: If you do not have mongodb installed, please install it: brew install mongodb Developnpm run watch Testnpm test Or npm run test:watch Docker and docker-composeNo needs for installing dependencies or running docker-compose build && docker-compose up Test docker-compose -f docker-compose.test.yml build && docker-compose -f docker-compose.test.yml up Production# first compile the code
npm run build
# run graphql compiled server
npm start Flownpm run flow Or flow REPL servernpm run repl
awesome > const user = await M.User.find() Yep, await syntax works on the repl, it is awesome, tks @princejwesley (https://gist.github.com/princejwesley/a66d514d86ea174270210561c44b71ba) SchemaUpdate your schema npm run update-schema Take a look on the Schema |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论