This chapter covers the core features and capabilities of SaaS Boilerplate.
Follow this guide to get SaaS Boilerplate up and running in your environment.
# Start the server with demo data
python src/main.py --init-demo
# Start on a custom port
python src/main.py --port 9000
# Start clean (no demo data)
python src/main.pyThen open http://localhost:8000 and try the API:
# Register a user
curl -X POST http://localhost:8000/api/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "admin@example.com", "password": "changeme123", "name": "Admin"}'
# Login
curl -X POST http://localhost:8000/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "admin@example.com", "password": "changeme123"}'
# List users (requires auth token from login response)
curl http://localhost:8000/api/users \
-H "Authorization: Bearer <token>"| Method | Path | Description |
|---|---|---|
| POST | /api/auth/register | Register a new user |
| POST | /api/auth/login | Login and receive session token |
| POST | /api/auth/logout | Invalidate session |
| GET | /api/users | List users (admin only) |
| GET | /api/users/:id | Get user details |
| PUT | /api/users/:id | Update user |
| GET | /api/settings | Get application settings |
| PUT | /api/settings | Update settings (admin only) |
| GET | /api/tenants | List tenants |
| POST | /api/tenants | Create a tenant |
| GET | /api/audit | View audit log (admin only) |
Get the full SaaS Boilerplate and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.