← Back to RawStack

API

Performance at scale

The RawStack API, powered by NestJS, delivers a fast, scalable solution with clean, modular business logic. Built on Command Query Responsibility Separation and Domain-Driven Design, it seamlessly scales from proof-of-concept to enterprise-grade systems.

Every endpoint is designed with separation of concerns in mind. Commands handle write operations while queries handle reads, ensuring your application remains performant and maintainable as it grows. The domain layer encapsulates your business rules, keeping them independent of infrastructure concerns.

Architecture

The API follows a layered architecture inspired by Domain-Driven Design and CQRS principles. Business logic lives in the domain layer, application orchestration happens in the service layer, and infrastructure concerns like databases and messaging are handled by adapters.

This separation means you can swap out your database, change your messaging provider, or refactor your API endpoints without touching your core business logic.

What's included

Out of the box you get a fully working authentication system with JWT tokens, refresh token rotation, and role-based access control. User management endpoints are ready to go with proper validation and error handling. The OpenAPI specification is auto-generated from your code, and TypeScript clients are generated for the frontend applications.

Features

  • Authentication and Authorization

    JWT-based authentication with role-based access control, refresh tokens, and secure session management.

  • User login and register flows

    Complete user onboarding with email verification, password reset, and account activation flows.

  • Full User CRUD

    Create, read, update, and delete users with proper validation, error handling, and audit trails.

  • OpenAPI spec and client generator

    Auto-generated OpenAPI specification with TypeScript client generation for the mobile app, admin panel, and website.

Technologies

Open Source

An open source full stack with full user account and management flows

Free

for everyone

  • Open source
  • Authentication
  • Admin flows
  • User registration flow
  • User emails

Pro

Fullstack starter with advanced features and infrastructure

£199 for individuals

£599 for teams*

  • Unlimited Projects
  • All of the open source features
  • AI powered Code Generator
  • Social Logins
  • Image Handling
  • Push Notifications

Frequently Asked Questions

Some commonly asked question about RawsStack. If you have any other questions, please don't hesitate to reach out to us at hi@rawstack.io.

copyright © rawstack.io