- Replaced direct SQLite database calls with Drizzle ORM methods in `top-monthly-sold-by-category.ts`, `writer.ts`, and `upc-file-analysis.ts`. - Updated test cases in `top-monthly-sold-by-category.test.ts` to mock the new database interactions. - Removed unnecessary database initialization and cleanup code. - Improved code readability and maintainability by using ORM features for inserting and updating records.
22 lines
819 B
Plaintext
22 lines
819 B
Plaintext
KEEPA_API_KEY=your_keepa_api_key_here
|
|
SP_API_CLIENT_ID=your_sp_api_client_id
|
|
SP_API_CLIENT_SECRET=your_sp_api_client_secret
|
|
SP_API_REFRESH_TOKEN=your_sp_api_refresh_token
|
|
SP_API_REGION=na
|
|
SP_API_MARKETPLACE_ID=ATVPDKIKX0DER
|
|
SP_API_SELLER_ID=your_seller_id
|
|
SP_API_USE_SANDBOX=false
|
|
AWS_ACCESS_KEY_ID=your_aws_access_key_id
|
|
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
|
|
# AWS_SESSION_TOKEN=optional_if_using_sts
|
|
REDIS_URL=redis://localhost:6379
|
|
LLM_URL=http://localhost:1234/v1
|
|
LLM_MODEL=default
|
|
ANTHROPIC_API_KEY=your_anthropic_api_key
|
|
ANTHROPIC_MODEL=claude-3-5-sonnet-20241022
|
|
CACHE_TTL=86400
|
|
GOOGLE_API_KEY=your_google_api_key
|
|
GOOGLE_CSE_ID=your_google_programmable_search_engine_id
|
|
SERPAPI_API_KEY=your_serpapi_api_key_for_google_shopping
|
|
|
|
DB_CONNECTION_STRING=your_database_connection_string |