Skip to content

Built with Node.js, TypeScript & Cloud Functions. Gets latest crypto news every 1 hour. Saves NoSQL database for later usage.

License

Notifications You must be signed in to change notification settings

stelselim/CryptoNews_Functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto News Functions

This project, for getting latest crypto news every 1 hour & saving the news for later usage.

The project has 2 different cloud functions.

  • scheduledCryptoNewsFunction: Triggers the latest news function every 1 hour. It is a scheduled function (Cron Job).
  • cryptoNewsHandler: Gets latest crypto news, saves Firestore database for later usage. It is a HTTPs request.

Provider

Crypto news is fetched from Crypto Panic. Further reading here.

  • API Key required.
    • required as environment variable.
    • CRYPTO_NEWS_API_KEY

How To Run

Before running, required API key as environment variable.

git clone https://github.com/stelselim/CryptoNews_Functions.git
cd functions
npm install
npm run serve

How Deploy

npm run deploy

Authors

👤 Selim Ustel


About

Built with Node.js, TypeScript & Cloud Functions. Gets latest crypto news every 1 hour. Saves NoSQL database for later usage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published