Skip to content

jwsequera/Rate-Crawler-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rate/Crawler API

Description

This RESTful API provides the following functionality:

  • Retrieve the current USD exchange rate and rate history from the BCV website (www.bcv.org.ve)
  • Perform daily crawling of the official Central Bank of Venezuela website (https://www.bcv.org.ve) to obtain the current Bs./USD exchange rate
  • Store the exchange rate in a database
  • Provide endpoints to query both current and historical exchange rates

Installation

npm install

Prisma setup

npx prisma migrate dev
npm run seed

Running the tests

npm test

Running the API

npm run dev

Cron

The cron job is set to run every day at 7:30 AM.

Swagger

The swagger documentation is available at http://localhost:${PORT}/api-docs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors