Open-source framework for building production-ready SAAS+AI applications.
packages/: Core framework packagesapps/: Example applicationsexamples/: Usage examples
- Run commands with Turborepo:
pnpm run build: Build all apps and packagespnpm run dev: Develop all apps and packagespnpm run lint: Lint all apps and packagespnpm run test: Test all apps and packages
- Run a command twice to hit cache
Run docker run --name saasfoundry -e POSTGRES_PASSWORD=saasfoundry -p 5432:5432 postgres in a separate terminal to start the database.
- Run commands in the
packages/apidirectory:pnpm run db:generate: Generate the database schemapnpm run db:migrate: Migrate the databasepnpm run db:studio: Studio the database
In the packages/api directory, run pnpm run dev to start the API server. The db (docker run) needs to be running first.
- Run
pnpm run dev-clientto start the client and execute some commands against the API.
See CONTRIBUTING.md for guidelines.
See LICENSE.md for details.