https://github.com/rockwood/firehose
Demo showing TimescaleDB in Phoenix
https://github.com/rockwood/firehose
elixir phoenix-framework timescale
Last synced: about 2 months ago
JSON representation
Demo showing TimescaleDB in Phoenix
- Host: GitHub
- URL: https://github.com/rockwood/firehose
- Owner: rockwood
- Created: 2017-08-11T08:46:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T00:54:53.000Z (over 2 years ago)
- Last Synced: 2025-04-02T09:51:14.527Z (3 months ago)
- Topics: elixir, phoenix-framework, timescale
- Language: Elixir
- Size: 209 KB
- Stars: 20
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Firehose
Demo showing [TimescaleDB](timescale.com) in Phoenix.
# Setup
* Install docker and docker-compose
* `docker-compose up -d`
* `mix deps.get`
* `mix ecto.create && mix ecto.migrate`
* `cd assets && npm install && cd -`
* `mix phx.server`
* `open http://localhost:4000`# TimescaleDB
The `trades` table is stored in TimescaleDB hypertable which optimizes quering data accross time. To
see, run the query:```sql
EXPLAIN SELECT * FROM trades;
```For more info, see the [TimescaleDB docs](docs.timescale.com)