Download & install
Get mc-pulse onto your machine before running locally or deploying.
Grab the source
- Git clone (recommended):
git clone https://github.com/Noobyetpro/mc-pulse.git
cd mc-pulse - Download ZIP: use the “Download ZIP” button on GitHub, then extract and open the folder in your terminal.
The docs site lives under
docs/, while the API code lives at the repo root (src/,prisma/).
Install prerequisites
- Node.js 18+ (ESM project).
- Postgres: reachable from where you run mc-pulse.
- Redis: used for Java cache; service will still start without it.
Install dependencies
From the project root:
npm install
Generate the Prisma client:
npx prisma generate
Configure environment
Copy and fill in .env:
cp .env.example .env
Set at least:
DATABASE_URL(mc_pulse schema is used automatically)REDIS_URL- Optionally override
PORT,DEFAULT_SERVER_HOST,DEFAULT_SERVER_PORT,CACHE_TTL_SECONDS
Prepare the database
Run migrations locally:
npx prisma migrate dev
For production, use
npx prisma migrate deployinstead ofdev.
Smoke test
Start the API in watch mode:
npm run dev
Verify it’s alive:
curl http://localhost:${PORT:-3000}/health
Next: follow Getting started for quick API calls and webhook tests.