GraphQL与ElasticSearch集成:使用TypeScript和KOA框架

此项目使用Apollo Server搭建了带有ElasticSearch的GraphQL应用,采用TypeScript编写,运行在Node.js环境下,并使用KOA框架。数据存储使用ElasticSearch,项目中还集成了JWT、CORS和Winston Logger等中间件。安装依赖项使用命令`npm install`。常用命令包括:`npm run watch`以监视模式启动服务器,`npm start`启动内置服务器,`npm run build`构建TypeScript文件。管理GraphQL Playground。
zip
graphql-elasticsearch-client-master.zip 预估大小:47个文件
folder
graphql-elasticsearch-client-master 文件夹
file
.gitignore 608B
file
Dockerfile 109B
file
package.json 2KB
file
tslint.json 2KB
file
package-lock.json 172KB
folder
src 文件夹
folder
api 文件夹
file
http-request.ts 2KB
file
index.ts 204B
file
project-service.ts 390B
folder
resolver 文件夹
file
project.ts 837B
file
search.ts 1KB
file
index.ts 503B
file
company.ts 838B
folder
boostrap 文件夹
file
apolloserver.ts 614B
file
index.ts 436B
file
elasticsearch.ts 406B
folder
schema 文件夹
file
project.ts 540B
file
filter.ts 614B
file
search.ts 662B
file
pagination.ts 473B
file
index.ts 979B
file
company.ts 521B
folder
utils 文件夹
file
query.ts 314B
file
page-info.ts 854B
file
index.ts 104B
folder
filters 文件夹
file
date-filter.ts 2KB
file
index.ts 718B
file
sort.ts 493B
folder
constant 文件夹
file
project.ts 87B
file
index.ts 84B
file
application.ts 412B
file
company.ts 88B
file
index.ts 755B
folder
loader 文件夹
file
project.ts 2KB
file
index.ts 53B
file
company.ts 2KB
folder
template 文件夹
file
trp.ts 190B
file
index.ts 415B
file
logging.ts 1KB
file
.dockerignore 26B
file
.env.sample 130B
file
LICENSE 34KB
file
tsconfig.json 355B
file
docker-compose.yml 206B
file
README.md 458B
folder
.vscode 文件夹
file
settings.json 25B
file
config.ts 570B
file
.prettierrc 88B
zip 文件大小:76.36KB