OSCRAT Platform - an open core, enterprise-ready trust management platform for startups and SMEs.
Please star the repo if you want us to continue developing and improving the OSCRAT Platform.
oscrat-oves/
├── apps/
│ ├── frontend/ # @oscrat/frontend (Next.js app)
│ └── jobrunner/ # @oscrat/jobrunner (background jobs)
├── packages/
│ └── model/ # @oscrat/model (Prisma schema, DB operations, types)
├── docker-compose.yml # Local development services
└── package.json # Workspace orchestrator
- SaaS-Starter-Kit
- Next.js
- Tailwind CSS and Atlaskit
- Postgres
- React
- Prisma
- TypeScript
- SAML Jackson (Provides SAML SSO, Directory Sync)
- Svix (Provides Webhook Orchestration)
- Endpoints collection (Provided by Osquery)
To Be Done
Please follow these simple steps to get a local copy up and running.
- Node.js (Version: >=22.x, see
.nvmrc) - PostgreSQL
- PNPM
- Docker compose
- Syft (required by the jobrunner for SBOM generation)
- Grype (required by the jobrunner for vulnerability scanning)
- openscap-report (required by the jobrunner for configuration scan reports)
- Fork the repository
- Clone the repository by using this command:
git clone https://github.com/oscrat/OSCRAT.gitcd oscrat-ovespnpm installThe jobrunner shells out to these binaries — install them and make sure they're on your PATH. See syft, grype, and openscap-report.
Duplicate the root .env.example to .env:
cp .env.example .envKeep CONFIRM_EMAIL=false in your local .env. No SMTP is wired up by default, so if email confirmation is on, new accounts will be stuck waiting for a confirmation email that never arrives.
pnpm services:db:upThis starts a PostgreSQL container for local development.
pnpm db:generate
pnpm db:migrate:devOn a fresh database this applies every migration in packages/model/prisma/migrations/ in order and generates the Prisma client.
pnpm devThis starts both the frontend and the jobrunner.
Prisma Studio is a visual editor for the data in your database.
pnpm db:studiopnpm dev- Start all apps in developmentpnpm build- Build all appspnpm typecheck- Type check all packagespnpm services:db:up- Start local PostgreSQLpnpm services:db:down- Stop local PostgreSQLpnpm db:generate- Generate Prisma clientpnpm db:migrate:dev- Apply migrations locallypnpm db:studio- Open Prisma Studiopnpm db:reset- Reset the local database
- Create account
- Sign in with Email and Password
- Sign in with Magic Link
- Sign in with SAML SSO
- Sign in with Google [Setting up Google OAuth]
- Sign in with GitHub [Creating a Github OAuth App]
- Directory Sync (SCIM)
- Update account
- Create team
- Invite users to the team
- Manage team members
- Update team settings
- Webhooks & Events
- Internationalization
- Audit logs
- Roles and Permissions
- Dark mode
Apache 2.0 — see LICENSE.