Test Nest with ClickHouse service
This repo contains submodules. Please install them before proceeding.
git clone --recurse-submodules https://github.com/ioncreature/nest-clickhouse.git
git submodule update --init --recursive
Copy .env.example
to .env
and make changes if needed.
npm i
Start ClickHouse in Docker
make up
make clickhouse-generate name=init
make clickhouse-migrate
make start
By default app is listening on http://localhost:80
make down
make clickhouse-generate name=<some-name-for-migration>
make clickhouse-migrate