Set up a local development environment for Rates API and start contributing to the project.
http://localhost:8787
. You can access the API and Swagger UI documentation at this URL.
bin/
directory.
To run a scraper script:
scrape-mortgage-rates.ts
: Fetches current mortgage ratesscrape-personal-loan-rates.ts
: Fetches personal loan ratesscrape-car-loan-rates.ts
: Fetches car loan ratesscrape-credit-card-rates.ts
: Fetches credit card ratessrc/
: Contains the main application code
index.ts
: The entry point for the applicationmodels/
: Data schemas and typesroutes/
: API endpoint handlerslib/
: Utility functions and helpersbin/
: Scripts for scraping data
schema.sql
: Database schema definition file
src/routes/
src/models/
bin/