Getting Started
Get up and running with Mantiks in under 5 minutes.
Prerequisites
Before you begin, make sure you have the following software installed on your machine:
Installation
Follow these steps to set up your development environment:
Clone the repository
Clone the Mantiks starter kit to your local machine.
$ git clone git@github.com:maxkoretskyi/mantiks.git && cd mantiks Install mise
We use mise to keep the setup local without polluting your system with global installations.
$ curl https://mise.run | sh Add mise to PATH
Add mise to your PATH for the current session (or add to ~/.bashrc to persist).
$ export PATH="$HOME/.local/bin:$PATH" Activate mise and install tools
Trust the project config, activate mise, and install Node.js and pnpm.
$ mise trust && eval "$(mise activate bash)" && mise install Run bootstrap
Downloads PostgreSQL and Google Cloud SDK, initializes the database, and installs dependencies.
$ ./scripts/bootstrap Configure environment
Copy the example environment file and add any required secrets.
$ cp .env.example .env Start the database
Start the local PostgreSQL database.
$ ./scripts/db-start Start the development server
Run all apps in development mode.
$ pnpm dev You're all set!
Your apps are now running:
localhost:3300 (Client) localhost:3301 (Auth) localhost:8800 (API) Need help?
Join our free workshop to get hands-on guidance from the creator of Mantiks.
View upcoming workshops