Built with Wasp, based on the Open Saas template.
This is being shared to help you have a working product that is fully built and functional to start building your own SaaS with. Wasp is a great framework and Open Saas is a great template and they have a thriving community on Discord and Github.
Here is what is built in the SaaS:
- Wasp v0.16.0
- React
- Node.js
- TailwindCSS
- Prisma
- PostgreSQL
- Lemonsqueezy
- AWS S3
- Plausible
- NameCheap
- Railway
- Private Email Service (SMTP via NameCheap)
- Auth via Email/Password, Google, Github, Discord
- Entrepreneurs launching a SaaS startup 🚀
- Developers who want a production-ready SaaS template 🏗️
- Indie Hackers looking for a quick MVP solution 💡
Cloud Context is a modern web application that helps developers understand and manage their codebase. The template is the core code for the SaaS portion of Cloud Context.
- 🔐 Authentication & Authorization
- 💳 Stripe Integration
- 📊 Dashboard Interface
- 👥 Team Management
- 🌐 Multi-tenant Architecture
- Framework: Wasp
- Frontend: React + TypeScript
- Backend: Node.js
- Database: PostgreSQL
- ORM: Prisma
- Authentication: Email/Password + Social Auth
- Payment Processing: Lemonsqueezy
- Storage: AWS S3
- Analytics: Plausible
- Email: Private Email Service (NameCheap)
- Hosting: Railway
- Domain: NameCheap
- Node.js (v18+)
- Wasp CLI
- PostgreSQL
- Docker (Desktop Preferred)
- Lemonsqueezy Account (for payment features)
- AWS Account (for storage features)
- Plausible Account (for analytics features)
- NameCheap Account (for domain features)
- Railway Account (for hosting features)
- Private Email Service Account (for email features)
- Github Account (for social auth features)
- Discord Account (for social auth features)
- Google Account (for social auth features)
- Clone the repository
- Copy
.env.example
to create both.env.client
and.env.server
- Fill in the environment variables with your values
Open Saas Getting Started First Time Setup:
- Install Wasp CLI
- Linux/Mac:
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
- Windows: follow Open Saas Getting Started
- Make sure you have the
.env.client
and.env.server
files with correct dev values in the root of the project - Start the database:
wasp start db
- Start the development server:
wasp start
- [OPTIONAL] If this is the first time starting the app, or you've made changes to your entities/prisma schema:
wasp db migrate-dev
/
├── main.wasp # Main Wasp configuration file
├── src/
│ ├── client/ # Frontend React components and logic
│ │ ├── app/ # Core application components
│ │ ├── auth/ # Authentication related components
│ │ ├── components/ # Reusable UI components
│ │ ├── dashboard/ # Dashboard views and components
│ │ ├── hooks/ # Custom React hooks
│ │ ├── icons/ # SVG icons and icon components
│ │ ├── layout/ # Layout components and templates
│ │ └── utils/ # Frontend utility functions
│ │
│ ├── server/ # Backend business logic and API routes
│ │ ├── actions/ # Server actions (API endpoints)
│ │ ├── queries/ # Data fetching logic
│ │ ├── auth/ # Authentication logic
│ │ ├── webhooks/ # Webhook handlers
│ │ └── utils/ # Server utility functions
│ │
│ ├── shared/ # Shared types and utilities
│ ├── admin/ # Admin dashboard features
│ │ ├── dashboards/ # Various admin dashboards
│ │ ├── elements/ # UI elements and components
│ │ └── layout/ # Admin-specific layouts
│ │
│ ├── analytics/ # Analytics related code
│ ├── payment/ # Payment processing logic
│ └── email/ # Email templates and sending logic
│
├── public/ # Static assets
│ ├── fonts/ # Font files
│ └── images/ # Image assets
│
└── migrations/ # Database migrations
This structure organizes the application into logical modules:
- Client: All frontend React code, organized by feature
- Server: Backend logic, including API endpoints and data processing
- Shared: Code shared between client and server
- Admin: Administrative interface components and logic
- Analytics: User activity tracking and reporting
- Payment: Subscription and payment processing
- Email: Communication templates and delivery
Contributions are welcome! Please read our contributing guidelines before submitting pull requests.
If you find this project useful, consider supporting my work:
This project is licensed under the MIT License.
It is based on OpenSaaS.sh by Wasp, which is also licensed under the MIT License. All modifications and additions are © 2025 cloudcontext.