Quick Start
Get SCRIPE running locally in under 5 minutes with backend, frontend, and verification steps.
This guide walks you through starting both the backend API server and the frontend development server, then verifying everything works with health checks and API tests.
Start the Backend
Restore Dependencies
Restore all NuGet packages for the solution.Shellcd SCRIPE-Backend dotnet restoreApply Migrations
Run Entity Framework migrations to create or update the database schema.Apply migrationsShelldotnet ef database update \ -p src/Modules/Identity/Identity.Infrastructure \ -s src/Host/APIRun the API Server
Start the backend API server on https://localhost:5035.Shelldotnet run --project src/Host/API
Start the Frontend
Install Dependencies
Install all npm dependencies using pnpm for faster, disk-efficient installation.Shellcd SCRIPE-Frontend pnpm installConfigure Environment
Create a .env.local file with the API URL and app name..env.localShell# .env.local NEXT_PUBLIC_API_URL=https://localhost:5035 NEXT_PUBLIC_APP_NAME=SCRIPEStart Dev Server
Start the Next.js development server on http://localhost:3000.Shellpnpm dev
Default Credentials
| Role | Password | Permissions | |
|---|---|---|---|
| Super Admin | admin@scripe.com | Admin@123 | Full system access, all modules |
| Tenant Admin | tenant@scripe.com | Tenant@123 | Scoped to tenant, manage users |
| Regular User | user@scripe.com | User@123 | Read-only, limited actions |
Verify Installation
Once both servers are running, verify the installation using these checks.
Shell
curl https://localhost:5035/health
# Expected: {"status":"Healthy","results":{...}}SCRIPE CLI
The SCRIPE CLI (scripe-cli) provides scaffolding commands to generate modules, entities, commands, queries, and more. It follows the project's architecture conventions automatically.
SCRIPE CLI CommandsShell
# Automatically create a 3-project backend module and frontend route
scripe new-module Inventory
# Scaffold 26 full-stack files (Controllers, Handlers, ViewModels, Zod schemas, Views)
scripe new-feature Inventory Product -p "Name:string:required:max(100),Price:decimal:required,CategoryId:FK:Category:required"
# Generate EF migrations across 3 Databases (SqlServer, Oracle, PostgreSql) simultaneously
scripe db add-migration Initial -m Inventory
# Auto-detect your configured Database provider and update it
scripe db update -m Inventory
# Auto-generate TypeScript models and API clients from Swagger
scripe sync-api https://localhost:5035/swagger/v1/swagger.json -m inventory
# Build the entire platform
scripe build all