Skip to content

ravendb/samples-crypto-app

Repository files navigation

RavenDB Crypto App Sample

An end-to-end sample application that showcases Time Series support in RavenDB through a crypto / stock chart inspired by Robinhood and powered by API data provided by Kucoin.

App architecture diagram

Time Series Feature Showcase

You can watch a quick 5 minute overview of the Time Series feature in RavenDB and what it enables.

There's also an in-depth walkthrough of how this code was built that introduces you to the different parts of the Time Series API.

Live Demo

https://crypto.samples.ravendb.net

Database Exports

You can download sample exports of the RavenDB database here that you can import into your own RavenDB instance locally or in RavenDB Cloud.

Components

  • web - A static HTML & TypeScript website front-end to display the crypto chart deployed through AWS S3 Website Hosting.
  • functions/ingestion-* - Node.js and .NET 5 C# Azure functions that ingest BTC-USDT symbol data from Kucoin every 35 minutes.
  • functions/backend-* - Node.js and .NET 5 C# Azure functions that host the HTTP endpoint to return aggregations and crypto symbol data.

The Azure Functions are implemented using both the .NET and Node.js SDKs for RavenDB to showcase working with Time Series APIs.

Running Locally

See CONTRIBUTING.md for information on how to run the app locally or deploy it yourself.