Quick Start
Viewing typescript
switch to python
Prerequisites
- Node.js: version 20+
- Python: version 3.12+
- OS: macOS or Linux (WSL supported for Windows)
- Docker: Installation instructions
Create Your First Pipeline
Initialize Project
Terminal
npx create-moose-app@latest my-moose-app typescript
cd my-moose-app && npm install
Recommended: Create a virtual environment
Best practice is to create a virtual environment and install Moose CLI in it:
Terminal
python -m venv .venv
source .venv/bin/activate
Terminal
pip install -U moose-cli
moose-cli init my-moose-app python
cd my-moose-app && pip install .
Start Development Server
Terminal
npx moose-cli dev
Terminal
moose-cli dev
Send Your First Data Point
Terminal
curl -X POST "http://localhost:4000/ingest/Foo" \
-H "Content-Type: application/json" \
-d '{"primaryKey": "test", "timestamp": 1546300801.0, "optionalString": "hello world"}'
Verify Data Ingestion
Terminal
npx moose-cli peek Foo
Terminal
moose-cli peek Foo
What’s Next?
Data Modeling Basics
Learn how to build your first data model in Moose
Working with Database Tables
Learn how to work with database tables in Moose
Building Analytics APIs
Serve data from your OLAP database to client applications