Skip to content

Commit

Permalink
merging rfq indexer into monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
Defi-Moses committed Sep 16, 2024
1 parent 377a7fa commit 456f9ba
Show file tree
Hide file tree
Showing 37 changed files with 8,725 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/rfq-indexer/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.github
.vscode

node_modules
**/node_modules
1 change: 1 addition & 0 deletions packages/rfq-indexer/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.18.0
2 changes: 2 additions & 0 deletions packages/rfq-indexer/api/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DATABASE_URL="postgresql://postgres:aPzZcRztScVCKBgfBmsGZUfsgmqrnMwi@viaduct.proxy.rlwy.net:22739/railway"
PORT=3001
3 changes: 3 additions & 0 deletions packages/rfq-indexer/api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules

.env.*
4 changes: 4 additions & 0 deletions packages/rfq-indexer/api/nixpacks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
providers = ["node"]

[phases.install]
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare pnpm@9.1.0 --activate", "pnpm install"]
41 changes: 41 additions & 0 deletions packages/rfq-indexer/api/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "api",
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {
"check-env": "dotenv -e .env.local -- printenv | grep DATABASE_URL",
"dev:local": "dotenv -e .env.local -- tsx watch src/index.ts",
"dev:prod": "dotenv -e .env.production -- tsx watch src/index.ts",
"start": "tsx src/index.ts",
"start:local": "dotenv -e .env -- tsx src/index.ts",
"dev": "dotenv -e .env -- tsx watch src/index.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@graphql-tools/load-files": "^7.0.0",
"@graphql-tools/merge": "^9.0.7",
"@graphql-tools/schema": "^10.0.6",
"@types/express": "^4.17.21",
"@types/node": "^22.5.4",
"express": "^4.21.0",
"graphql": "^16.9.0",
"graphql-yoga": "^5.7.0",
"kysely": "^0.27.4",
"pg": "^8.12.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"viem": "^2.21.6",
"tsx": "^4.19.1",
"dotenv-cli": "^7.4.2"
},
"engines": {
"node": ">=18.17"
},
"devDependencies": {
"@types/pg": "^8.11.9",
"dotenv": "^16.4.5"
}
}
Loading

0 comments on commit 456f9ba

Please sign in to comment.