Documentation Index
Fetch the complete documentation index at: https://docs.twenty.com/llms.txt
Use this file to discover all available pages before exploring further.
Useful commands
These commands should be executed from packages/twenty-server folder. From any other folder you can runnpx nx {command} twenty-server (or npx nx run twenty-server:{command}).
First time setup
Starting the server
Lint
Test
npx nx run twenty-server:test:integration:with-db-reset in case you need to reset the database before running the integration tests.
Resetting the database
If you want to reset and seed the database, you can run the following command:Migrations
For objects in Core/Metadata schemas (TypeORM)
Tech Stack
Twenty primarily uses NestJS for the backend. Prisma was the first ORM we used. But in order to allow users to create custom fields and custom objects, a lower-level made more sense as we need to have fine-grained control. The project now uses TypeORM. Here’s what the tech stack now looks like. Core Database Third-party integrations- Sentry for tracking bugs