在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):juffalow/express-graphql-example开源软件地址(OpenSource Url):https://github.com/juffalow/express-graphql-example开源编程语言(OpenSource Language):TypeScript 97.2%开源软件介绍(OpenSource Introduction):Express, GraphQL exampleHow to run the project using Dockerdocker-compose up --build Open GraphiQL in your browser http://localhost:3010/graphql How to run the projectInstall dependencies: yarn
# or using npm
npm install Create export default {
port: 3010,
database: {
type: 'mysql',
connection: {
database : '',
host : '',
password : '',
user : '',
},
/*
* Migrations run on every start of the application.
* If you initialized the database manually (from the database.sql file),
* you don't need this.
*/
migrations: {
directory: __dirname + '/migrations',
},
},
}; Run the project: yarn start
# or using npm
npm start Open GraphiQL in your browser http://localhost:3010/graphql ExamplesYou can find example queries in EXAMPLES.md. Old versionHere is a link to an old version, that used Here is a link to older version, that did not use typescript, and used License |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论