JavaScript is one of the most versatile and widely-used programming languages, powering both the frontend and backend of countless web applications. Yet, despite its popularity, developers often struggle to find a cohesive full stack framework that brings all the essential parts together in a seamless way. Enter Wasp, a new full stack solution for JavaScript created by twin brothers Matija and Martin Šošić. Wasp combines the power of React, Node.js, and Prisma to offer a streamlined development experience for building full stack web apps.
While JavaScript has no shortage of libraries and tools, many developers find themselves spending too much time configuring and connecting them. Setting up React for the frontend, Express.js for the backend, a database ORM like Prisma, and authentication services can be time-consuming and error-prone.
Wasp is a declarative, domain-specific language (DSL) that simplifies the process of creating full stack applications. It allows developers to write high-level configurations, while still using React and Node.js for the custom logic.
.wasp
file, defining routes, entities, and actions.Wasp uses its DSL to generate a complete full stack app structure. Developers only need to focus on:
Example Wasp code:
app MyApp { title: "My Full Stack App", auth: { userEntity: User, methods: { usernameAndPassword: {} } } } entity User { username: string, passwordHash: string } page HomePage { route: "/", component: import Home from "@client/Home" } action signUp { fn: import { signUp } from "@server/auth.js" }
This small snippet generates a working application structure, complete with routing, user authentication, and backend logic.
Wasp is still evolving, with plans to support more features such as real-time updates, improved deployment workflows, and expanded integrations with services like GraphQL and serverless functions.
The Šošić brothers are actively engaging with the developer community to shape the roadmap based on real-world use cases.
Wasp is filling a much-needed gap in the JavaScript ecosystem by offering a complete, streamlined full stack solution. By unifying the best of React, Node.js, and Prisma into an easy-to-use framework, Wasp empowers developers to build scalable, production-ready web apps faster and with less hassle. If you’re looking to simplify your full stack JavaScript development without sacrificing flexibility, Wasp is definitely worth exploring.