https://github.com/dreeseaw/pooltracker
Track the volume, liquidity, & pair price of Uniswap V3 liquidity pools. Uses Airflow to keep a MongoDB instance filled with real-time data, served with a React interface.
https://github.com/dreeseaw/pooltracker
airflow docker docker-compose go mongodb python reactjs
Last synced: 3 months ago
JSON representation
Track the volume, liquidity, & pair price of Uniswap V3 liquidity pools. Uses Airflow to keep a MongoDB instance filled with real-time data, served with a React interface.
- Host: GitHub
- URL: https://github.com/dreeseaw/pooltracker
- Owner: Dreeseaw
- Created: 2021-06-09T15:39:07.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-14T14:21:15.000Z (about 5 years ago)
- Last Synced: 2025-06-04T21:54:55.049Z (about 1 year ago)
- Topics: airflow, docker, docker-compose, go, mongodb, python, reactjs
- Language: Python
- Homepage:
- Size: 97.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PoolTracker
## Environment setup
You need to have [Go](https://golang.org/),
[Node.js](https://nodejs.org/),
[Docker](https://www.docker.com/), and
[Docker Compose](https://docs.docker.com/compose/)
(comes pre-installed with Docker on Mac and Windows)
installed on your computer.
Verify the tools by running the following commands:
```sh
go version
npm --version
docker --version
docker-compose --version
```
If you are using Windows you will also need
[gcc](https://gcc.gnu.org/). It comes installed
on Mac and almost all Linux distributions.
## Start in development mode
In the project directory run the command (you might
need to prepend it with `sudo` depending on your setup):
```sh
docker-compose -f docker-compose-dev.yml up
```
This starts a local MongoDB on `localhost:27017`.
The database will be populated with test records
from the [init-db.js](init-db.js) file.
Navigate to the `server` folder and start the back end:
```sh
cd server
go run server.go
```
The back end will serve on http://localhost:8080.
Navigate to the `webapp` folder, install dependencies,
and start the front end development server by running:
```sh
cd webapp
npm install
npm start
```
The application will be available on http://localhost:3000.
## Start in production mode
Perform:
```sh
docker-compose up
```
This will build the application and start it together with
its database. Access the application on http://localhost:8080.