Development — Conventions
Code style, testing and release workflow.
Code style
- TypeScript strict mode for the web app.
- Python with
rufffor the backend. - Tailwind CSS for styling — no custom CSS unless token-driven.
- Conventional commits:
feat:,fix:,chore:,docs:.
Testing
# Web app
npm test
# Backend
cd backend && pip install -r requirements-dev.txt && pytest -q
# Docs build
cd aetheris-docs && npm run buildPrisma workflow
npx prisma migrate dev --name feature_name # create migration
npx prisma generate # regenerate client
npx prisma migrate deploy # apply in productionRelease workflow
- Create a feature branch.
- Make changes, run tests.
- Open a PR against
main. - Merge after review.
- Vercel auto-deploys
mainto production.
Environment setup
Copy .env.example and fill in:
DATABASE_URL=postgresql://aetheris:password@127.0.0.1:5432/aetheris
REDIS_URL=redis://127.0.0.1:6379
AETHERIS_SECRET=<random-32-chars>
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=<random-32-chars>See also: Development overview, Architecture.