Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.67 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.67 KB

Cryption

A Standalone Express Application that queries current market prices of crypto and stocks from external APIs at certain intervals.

Queried prices are then used to update custom notion pages to reflect updated prices using the NotionAPI.

Tech Stack:

  • NodeJS
  • Express
  • NotionAPI

APIs:

Setup requirements:

  • A notion database with minimally these columns for crypto

  • A notion database with minimally these columns for stocks

  • Your own notion API key and database keys. Check here for instructions on getting your own keys

Usage:

  • To manually trigger crypto price updates, simply hit up '/notion/crypto' endpoint.
  • To manually trigger crypto price updates, simply hit up '/notion/crypto' endpoint.

Coming Soon:

  • Stock database auto update API
  • Automatic scheduled triggers of APIs

Dev Notes:

I figured that creating an automatic scheduler would require me to deploy somewhere that will allow the app to run 24/7. Now this requirement isn't exactly available for free and I am currently not willing to pay for that feature on any platform.

I will continue developing the scheduler portion but the current implementation would be deployed to heroku and use Windows Task Scheduler to trigger a curl script (Included in the util folder) every week to hit the API.