Backend API for the Polkadot Education platform.
- Bun v1.1.29
- Node v24.8.0
- MongoDB v7.0.5 (local or remote)
-
Install dependencies
bun i
-
Set up environment
cp .env.example .env # Edit .env with your configuration -
Start development server
bun dev
bun dev- Start development serverbun run test- Run testsbun run lint- Lint code with ESLintbun run lint:fix- Fix linting errorsbun run format- Format code with Prettierbun run format:fix- Fix formatting errorsbun run build- Build for production
The API runs on http://localhost:4000 by default.