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:
- β Sponsor Me on GitHub
- β Buy Me a Coffee
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.