-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
31 lines (31 loc) · 1.08 KB
/
package.json
File metadata and controls
31 lines (31 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "api-experiments",
"version": "1.0.0",
"description": "Experiments comparing REST, GraphQL, and gRPC APIs",
"main": "index.js",
"scripts": {
"setup-db": "node database/simple-db.js",
"start-rest": "node rest-api/server.js",
"start-graphql": "node graphql-api/server.js",
"start-grpc": "node grpc-api/server.js",
"benchmark": "node benchmarks/performance-test.js",
"test-all": "node benchmarks/comparison.js",
"network-test": "node benchmarks/network-performance-test.js",
"docker:test": "docker-compose up -d --build && docker-compose exec test-client node benchmarks/network-performance-test.js",
"docker:start": "docker-compose up -d --build",
"docker:stop": "docker-compose down -v"
},
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5",
"@apollo/server": "^4.9.5",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"@grpc/grpc-js": "^1.9.5",
"@grpc/proto-loader": "^0.7.8",
"axios": "^1.5.0"
},
"keywords": ["api", "rest", "graphql", "grpc", "comparison"],
"author": "",
"license": "MIT"
}