This commit introduces a script to fetch data from an external API, process it, and store it in a PostgreSQL database using Drizzle ORM. It sets up necessary dependencies in `package.json` and defines the database schema, connection, and logic to handle paginated API requests efficiently.
20 lines
373 B
JSON
20 lines
373 B
JSON
{
|
|
"name": "mgr",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"dotenv": "^16.5.0",
|
|
"drizzle-orm": "^0.42.0",
|
|
"node-fetch": "^3.3.2",
|
|
"pg": "^8.14.1",
|
|
"postgres": "^3.4.5"
|
|
}
|
|
}
|