Introduction
Build your stack on a rock solid foundation
What is RawStack?
RawStack is a complete, fully functional foundation codebase for building modern software products. It is 100% TypeScript and designed to be type-safe across the stack, including frontend web apps, an admin dashboard, mobile apps for iOS and Android, backend APIs and services, and infrastructure as code to host and scale your system on AWS. It is an opinionated foundation that you own, customize, and build on.
What is included?
The codebase includes the following components:
API
apps/api
A modular monolith backend built with NestJS, PostgreSQL, Redis, and JWT authentication. Follows CQRS and Domain-Driven Design principles, making it structured, scalable, and maintainable.
Web
apps/web
A Next.js public-facing website for your main product experience, marketing pages, and customer-facing flows.
Admin
apps/admin
A React + Vite admin dashboard for managing internal operations, users, data, and platform workflows.
App
apps/app
A React Native mobile application for iOS and Android, providing a shared foundation for cross-platform mobile development.
Notification Service
services/notification
An AWS Lambda microservice for sending email and SMS notifications, triggered asynchronously through EventBridge.
Infrastructure
infrastructure/aws
An AWS CDK project written in TypeScript that provisions the full cloud environment — VPC, RDS, ElastiCache, ECS Fargate, ALB, S3, CloudFront, and Route 53.
API Client
packages/api-client
An auto-generated TypeScript client built from the API's OpenAPI specification. Provides fully typed request and response models for Web, Admin, and App.
Scripts
scripts
Scripts for generating the API client and deploying APIs and services to AWS.
What RawStack is not
RawStack is not a turnkey solution. It still requires setup, customization, and the addition of your own business logic. It also requires real software engineering skill and experience to use effectively. The frontend is functional and practical. It is not intended to be highly polished. This makes it easier to customize.
Who is it for?
RawStack is aimed at CTOs, software engineers, and technical founders who want to build production-grade applications without starting from scratch. It is especially useful for teams who want to move fast without sacrificing maintainability, scalability, or security.
It is also a useful reference for students and developers who want to see how a production-grade codebase is structured and to learn best practices for building modern software products.