-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements Latitude API Gateway using Hono with the nodejs adapter
- Loading branch information
Showing
33 changed files
with
1,797 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": ["./node_modules/@latitude-data/eslint-config/library.js"], | ||
"env": { | ||
"node": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# prod | ||
dist/ | ||
|
||
# dev | ||
.yarn/ | ||
!.yarn/releases | ||
.vscode/* | ||
!.vscode/launch.json | ||
!.vscode/*.code-snippets | ||
.idea/workspace.xml | ||
.idea/usage.statistics.xml | ||
.idea/shelf | ||
|
||
# deps | ||
node_modules/ | ||
.wrangler | ||
|
||
# env | ||
.env | ||
.env.production | ||
.dev.vars | ||
|
||
# logs | ||
logs/ | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
# misc | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "@latitude-data/gateway", | ||
"type": "module", | ||
"scripts": { | ||
"build": "tsc --build tsconfig.prod.json --verbose", | ||
"dev": "tsx watch src", | ||
"lint": "eslint src/", | ||
"prettier": "prettier --write \"**/*.{ts,tsx,md}\"", | ||
"start": "node -r module-alias/register ./dist --env=production", | ||
"tc": "tsc --noEmit", | ||
"test": "vitest --run", | ||
"test:watch": "vitest" | ||
}, | ||
"dependencies": { | ||
"@hono/node-server": "^1.12.0", | ||
"@latitude-data/core": "workspace:^", | ||
"@latitude-data/env": "workspace:^", | ||
"hono": "^4.5.3" | ||
}, | ||
"devDependencies": { | ||
"@latitude-data/eslint-config": "workspace:^", | ||
"@latitude-data/typescript-config": "workspace:^", | ||
"eslint": "8", | ||
"jet-paths": "^1.0.6", | ||
"tsx": "^4.16.2", | ||
"typescript": "^5.5.4", | ||
"vite-tsconfig-paths": "^4.3.2", | ||
"vitest": "^2.0.4" | ||
} | ||
} |
Oops, something went wrong.