Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merging rfq indexer into monorepo [SLT-164] [SLT-176] #3136

Merged
merged 15 commits into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:[email protected]:22739/railway"
Defi-Moses marked this conversation as resolved.
Show resolved Hide resolved
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 [email protected] --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
Loading