wasp-lang /wasp
The batteries-included full-stack framework for the AI era. Develop JS/TS web apps (React, Node.js, and Prisma) using declarative code that abstracts away complex full-stack features like auth, background jobs, RPC, email sending, end-to-end type safety, single-command deployment, and more.
★ 18,809⑂ 1,480👁 65⑃ 3,170● 2,026▤ 167
+1
日增长
18,809
stars
1,480
forks
65
watchers
3,170
prs
2,026
issues
167
releases
README
The fastest way to develop full-stack web apps with React & Node.js.
Website
|
Docs
Discord
|
Twitter
|
Youtube
Deployed? Get swag! 👕
---
What is Wasp?
Wasp (Web Application Specification) is a Rails-like framework for React, Node.js, and Prisma.
Build your app in a day and deploy it with a single CLI command!
Why is Wasp awesome
- 🚀 Quick start: Due to its expressiveness, you can create and deploy a production-ready web app from scratch with very few lines of concise, consistent, declarative code.
- 😌 No boilerplate: By abstracting away complex full-stack features, there is less boilerplate code. That means less code to maintain and understand! It also means easier upgrades.
- 🔓 No lock-in: You can deploy the Wasp app anywhere you like. There is no lock-in into specific providers; you have complete control over the code (and can actually check it out in .wasp/ directory if you are interested ).
- 🤖 Perfect for AI by design: Thanks to its high-level spec of the whole app, opinionated approach, built-in full-stack features, and tight integration of all parts of the stack, Wasp gives AI (agents) clear guardrails and structure, less boilerplate to manage, and better context management.
Features
- 🔒 Full-stack Auth
- 🖇️ RPC (Client Server)
- 🚀 Simple Deployment
- ⚙ ️Jobs
- ✉️ Email Sending
- 🛟 Full-stack Type Safety
- ...
Code example
Simple Wasp spec file in which you describe the high-level details of your web app:
ts
// file: main.wasp.ts
import { app, page, query, route } from "@wasp/spec";
import { MainPage } from "./src/MainPage" with { type: "ref" }; // Your React code.
import { DashboardPage } from "./src/dashboard/DashboardPage" with { type: "ref" };
import { getTasks } from "./src/queries" with { type: "ref" }; // Your Node.js code.
export default app({
name: "todoApp",
wasp: { version: "^0.24.0" },
title: "ToDo App",
head: [""],
auth: {
// Full-stack auth out-of-the-box.
userEntity: "User",
methods: {
email: {
// ...
},
google: {
// ...
},
},
onAuthFailedRedirectTo: "/login",
},
spec: [
route("RootRoute", "/", page(MainPage)),
route(
"DashboardRoute",
"/dashboard",
page(DashboardPage, {
authRequired: true, // Limit access to logged-in users.
}),
),
query(getTasks, {
entities: ["Task"], // Automatic cache invalidation.
}),
],
});
And a Prisma schema for the database:
prisma
// file: schema.prisma
model Task { // Your Prisma data model.
id Int @id @default(autoincrement())
description String
isDone Boolean @default(false)
}
The rest of the code you write in React / Node.js and reference it from the .wasp.ts files.
👉 Check out TodoApp example for a complete code example. 👈
How it works
Given a simple main.wasp.ts specification file that describes the high-level detailsTop issues
#1088Have Wasp support producing mobile (smartphone) client app28 comments · 2023-03-28#954Better user account merging logic25 comments · 2023-01-16#63Query invalidation/updating23 comments · 2020-09-29#863Automatically expose documented API based on the defined Operations21 comments · 2022-12-01#1464Update the database docs on seeding the production DB on Fly15 comments · 2023-10-03#2696Make our CLI nicer14 comments · 2025-04-24#641Expand our Prisma support (enum, type, other dbs, ...)14 comments · 2022-06-23#2262Support different package managers13 comments · 2024-08-31
Discussions
#3609Want to create a discussion? Read this!0 comments · 2026-01-14#2399Wasp GitHub Copilot extension0 comments · 2024-12-05#2364Option to enable/disable or customize text in login/signup/password-reset forms1 comments · 2024-10-31#2357NixOS support2 comments · 2024-10-23#2345Support for safe collocation of files and folders3 comments · 2024-10-18#2274Upgrade @headlessui/react to latest version0 comments · 2024-09-09#2215Support Plunk for email providers0 comments · 2024-07-31#2209How can I do a fresh installation of Wasp using version 0.13?1 comments · 2024-07-26
Latest release
v0.26.1 v0.26.1 2026-10-23⚠️ Breaking Changes - Wasp now requires Node.js =24.22.1 (previously =24.14.1), which includes fixes for the October 2026 Node.js security vulnerabilities. (5113)