-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f683db1
commit ed5e067
Showing
3 changed files
with
48 additions
and
12 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,47 @@ | ||
# Updater | ||
|
||
## Description | ||
|
||
A serverless application for updating car trends data. | ||
|
||
## Prerequisites | ||
|
||
- Node.js (compatible with Node 22.x) | ||
- pnpm | ||
|
||
## Installation | ||
|
||
```bash | ||
pnpm install | ||
``` | ||
|
||
## Scripts | ||
|
||
- `pnpm dev`: Start development server using SST (Serverless Stack) in dev stage | ||
- `pnpm test`: Run tests using Vitest | ||
- `pnpm test:coverage`: Run tests with coverage report | ||
- `pnpm migrate`: Run database migrations using Drizzle Kit | ||
|
||
## Key Dependencies | ||
|
||
- Hono (Web framework) | ||
- Drizzle ORM | ||
- Neon Database Serverless | ||
- Upstash Redis | ||
|
||
## Development Tools | ||
|
||
- Vitest (Testing) | ||
- Biome (Linting) | ||
|
||
## Database Migrations | ||
|
||
Migrations are managed using Drizzle Kit. Run `pnpm migrate` to apply database schema changes. | ||
|
||
## License | ||
|
||
ISC | ||
|
||
## Author | ||
|
||
Ru Chern Chong <[email protected]> |
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"test:coverage": "vitest run --coverage", | ||
"migrate": "drizzle-kit migrate" | ||
}, | ||
"author": "Ru Chern CHONG <[email protected]>", | ||
"author": "Ru Chern Chong <[email protected]>", | ||
"license": "ISC", | ||
"dependencies": { | ||
"@neondatabase/serverless": "^0.10.4", | ||
|
@@ -27,7 +27,6 @@ | |
"@types/papaparse": "^5.3.15", | ||
"@vitest/coverage-v8": "2.1.8", | ||
"drizzle-kit": "^0.29.0", | ||
"prettier": "^3.4.1", | ||
"vitest": "^2.1.8" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.