Skip to content

Commit

Permalink
Change: switch to REST
Browse files Browse the repository at this point in the history
  • Loading branch information
Voktor Stolenets committed Dec 26, 2024
1 parent f001e73 commit 4b32a5c
Show file tree
Hide file tree
Showing 12 changed files with 907 additions and 2,972 deletions.
4 changes: 4 additions & 0 deletions env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
HOST=
PORT=
DATABASE_URL=
SUBGRAPHS_ENDPOINT=
2,416 changes: 139 additions & 2,277 deletions package-lock.json

Large diffs are not rendered by default.

25 changes: 11 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,34 @@
{
"name": "ambrodeo",
"name": "ambrodeo-rest",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "ts-node src/server.ts",
"dev": "nodemon src/server.ts"
"start": "tsc && node dist/server.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/mongodb": "^4.0.6",
"@types/node": "^22.10.2",
"typescript": "^5.7.2"
},
"dependencies": {
"@fastify/cors": "^10.0.1",
"@fastify/mongodb": "^9.0.1",
"@fastify/multipart": "^9.0.1",
"@fastify/swagger": "^9.4.0",
"@fastify/swagger-ui": "^5.2.0",
"axios": "^1.7.9",
"crypto": "^1.0.1",
"dotenv": "^16.4.7",
"ethers": "^6.13.4",
"fastify": "^5.2.0",
"fastify-plugin": "^5.0.1",
"fastify-swagger": "^5.1.1",
"js-yaml": "^4.1.0",
"jsonrpc-lite": "^2.2.0",
"mongodb": "^6.12.0",
"swagger-ui": "^5.18.2"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.10.2",
"nodemon": "^3.1.9",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
"mongodb": "^6.12.0"
}
}
19 changes: 0 additions & 19 deletions src/db.ts

This file was deleted.

Loading

0 comments on commit 4b32a5c

Please sign in to comment.