Initial commit: Cloud Instances API
Multi-cloud VM instance database with Cloudflare Workers - Linode, Vultr, AWS connector integration - D1 database with regions, instances, pricing - Query API with filtering, caching, pagination - Cron-based auto-sync (daily + 6-hourly) - Health monitoring endpoint Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
21
package.json
Normal file
21
package.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "cloud-instances-api",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "wrangler dev",
|
||||
"deploy": "wrangler deploy",
|
||||
"test": "vitest",
|
||||
"db:init": "wrangler d1 execute cloud-instances-db --local --file=./schema.sql",
|
||||
"db:init:remote": "wrangler d1 execute cloud-instances-db --remote --file=./schema.sql",
|
||||
"db:seed": "wrangler d1 execute cloud-instances-db --local --file=./seed.sql",
|
||||
"db:seed:remote": "wrangler d1 execute cloud-instances-db --remote --file=./seed.sql",
|
||||
"db:query": "wrangler d1 execute cloud-instances-db --local --command"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "^4.20241205.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vitest": "^2.1.8",
|
||||
"wrangler": "^3.99.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user