Express,GraphQL示例
如何运行项目
安装依赖项:
yarn
# or using npm
npm install
创建src/config.ts或重命名src/config.example.js并使用您的凭据更新文件:
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 : {
d
1