Wa

Wasp – DSL/framework for building full-stack web apps – now in beta

Hacker News

Wasp – DSL/framework for building full-stack web apps – now in beta

Hey HN! Wasp ( https://wasp-lang.dev/ ) is a simple config language (DSL) and framework for building full-stack web apps. You describe the high-level features you want (auth, CRUD, async jobs, …) using the Wasp DSL, and write the rest of your logic in React, Node.js, and Prisma. We’re focused on simplifying developer experience and ensuring best practices. Everything is open source. Why another full-stack framework? And why a config language/DSL? We were still experiencing a lot of boilerplate (repetitive tasks) using other frameworks—things like duplicating data models across database/server/client, implementing CRUD API, setting up auth, and choosing and stitching together all parts of the stack. There are two main reasons for the DSL approach - 1) short-term: simpler and cleaner DX via a declarative language that helps avoid boilerplate, and 2) longer-tem: laying foundation for the stack & architecture independent system. Since Wasp analyses the app’s requirements in compile time, it can decide how to generate the target code (React & Node.js currently). In the future it could support other stacks such as e.g. Vue/Svelte on the client and Python/Go on the server, even allowing for mixing’n’matching. The same goes for the architecture (dedicated server, serverless, …). Our big vision for Wasp is to become a stable, stack-agnostic language for describing (web) app requirements (like SQL for databases or Terraform for infra) that interops with the existing stack. Wasp-lang stands for “Web Application SPecification language”. Besides the DSL, another valid approach would be to offer an SDK in e.g. JS or Python to build Wasp AST (like Terraform and Pulumi now both offer). We see it as another “frontend” for constructing the AST and might also introduce it in the future. Under the hood, everything is compiled to a client (React) and server (Node.js/Prisma) apps and we generate static files and a Docker image you can use for deploying to your platform of choice. Wasp had an Alpha launch 1.5 years ago ( https://news.ycombinator.com/item?id=26091956 ). Now we are more stable and feature-full. We still expect things to change, so wouldn’t recommend using Wasp for heavy production or mission-critical systems just yet. But it has been used for hackathons, internal tools and even revenue-generating products ( https://wasp-lang.dev/blog/2022/11/26/erlis-amicus-usecase ). The current release is our biggest since we launched ( https://wasp-lang.dev/blog/2022/11/29/wasp-beta ). Besides general stability and DX improvements, it brings support for TypeScript ( https://wasp-lang.dev/blog/2022/11/29/typescript-feature-ann... ), Tailwind ( https://wasp-lang.dev/blog/2022/11/16/tailwind-feature-annou... ), async jobs via pg-boss ( https://wasp-lang.dev/blog/2022/06/15/jobs-feature-announcem... ), full-stack authentication (now also with Google) ( http://localhost:3000/blog/2022/11/15/auth-feature-announcem... ), and by popular demand, Wasp LSP with VS Code integration ( https://wasp-lang.dev/blog/2022/12/01/beta-ide-improvements ). Our next focus will be on making Wasp even easier to use (examples, starter templates, UI helpers), and we’ll look into tighter weaving of data models with the rest of the stack and expanding the DSL with more functionalities. We’re around to answer questions and look forward to hearing everything and anything you have to say!

Share card

Actual performance

115points
37comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
90%90% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Product HuntOn track for Day 1 leaderboard · Strong signals: model, google, apps · Missing: mac, agents, macos
86%86% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, open source, existing · Missing: https docs, excited, just released
70%70% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: apps, google · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: platform, host · Missing: plus, intuitive, reviews
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: revenue · Missing: arr, mrr, profit
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: introduce · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Wa
Wasp – a DSL for building full-stack web apps74%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Wasp – a DSL for building full-stack web apps

Hacker News20
Sw
Swerve – A framework for establishing integrity guarantees in web apps73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Swerve – A framework for establishing integrity guarantees in web apps

Hacker News6
Re
Remake – A server-rendered framework for building CRUD web apps fast86%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Remake – A server-rendered framework for building CRUD web apps fast

Hacker News47
Wo
Wolff – PHP framework for building web apps61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Wolff – PHP framework for building web apps

Hacker News1
Cu
Cube.js – Framework for building analytics into your web apps66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cube.js – Framework for building analytics into your web apps

Hacker News12
Br
Brutal.js – A crazy-small framework for building brutalist web apps55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Brutal.js – A crazy-small framework for building brutalist web apps

Hacker News6
Fervor
Fervor63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Modern, Open Source Full Stack Framework for Web Apps

Indie Hackerscommitment-side-project
Do
DotVVM – .NET MVVM Framework for Web Apps64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

DotVVM – .NET MVVM Framework for Web Apps

Hacker News10
Baleada
Baleada35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A toolkit for building web apps

Indie Hackerscommitment-side-project
Shipper.now
Shipper.now42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Create full-stack web apps from 1 prompt

Indie Hackerscommitment-full-time