Getting StartedQuickstart

Quickstart

Bootstrap the AIGravity/core monorepo, start the local services, and verify the web app and health endpoints.

Prerequisites

Set up your local environment before you bootstrap the monorepo:

  • Node.js 18 or later
  • pnpm installed globally
  • Bun installed and on your PATH
  • Python 3.11 or later with uv installed and on your PATH
  • Git access to the AIGravity/core repository

Bootstrap the monorepo

Clone the repository and install the workspace dependencies before you start any services.

Clone the repository

Use Git to clone the monorepo and move into it:

git clone git@github.com:AIGravity/core.git
cd core

You should now be in the repository root with the workspace files available.

Install dependencies

Run the repository bootstrap command from the root of the monorepo:

pnpm setup

Use this command to install the workspace dependencies required by the web app, API, and AI service.

Start the services

Run the full stack from the repository root with Turborepo.

Start the development environment

Start all workspace services together:

pnpm dev

The command starts the web app, API, and AI service. Wait for each process to finish starting before you test the app.

Verify the web app loads

Open the web app in your browser:

http://localhost:3000

The page should load without errors in the browser. If the app does not load, check the terminal output for the web process first.

Verify the health endpoints

Confirm that the API and AI service are responding:

curl -i http://localhost:3001/api/health

Both endpoints should return 200 OK when the services are healthy.

Verify service status

Use these URLs to confirm each part of the stack is running.

ServiceURLCheck
Web apphttp://localhost:3000Load the page in a browser
APIhttp://localhost:3001GET http://localhost:3001/api/health
AI servicehttp://localhost:8001GET http://localhost:8001/health

If a check fails, review the corresponding terminal output and restart the service if needed.

Troubleshooting

Next steps

Once the local stack is running, keep the terminal open and start working in the area you need.