Ideon Logo
Ideon

Development

Development runs in Docker. npm run dev rebuilds the image and restarts the stack.

Local Setup

  1. Install dependencies.
npm install
  1. Create your local environment file.
cp env.example .env
  1. Build and start the development stack.
npm run dev

npm run dev runs ./compose.sh build && ./compose.sh restart.

After each frontend or backend change, run npm run dev again.

Useful Docker Commands

npm run dev
./compose.sh build
./compose.sh start
./compose.sh restart
./compose.sh stop
./compose.sh down

Use Docker logs when debugging the running stack:

docker compose -f docker-compose.yml -f docker-compose.dev.yml logs -f ideon-app ideon-db

Build and Start

npm run build
npm run start

Tests and Quality

npm run test
npm run check

Code Style

  • Prettier for formatting.
  • ESLint for linting.
  • No inline styles in UI components.
  • No hardcoded user facing strings in UI components. Use i18n dictionaries.