SwizzyWeb: The Future of Scalable and Flexible Web Services

SwizzyWeb: The Future of Scalable and Flexible Web Services

Every developer eventually encounters the challenges of an overgrown monolith or the complexity of managing an endless array of microservices. What if you could embrace the simplicity of a monolith until scaling becomes a necessity, then seamlessly decompose it into the precise number of microservices you require? What if you could effortlessly switch between Node.js, Bun, and Deno based on your needs? With SwizzyWeb, now you can.

SwizzyWeb is an innovative collection of libraries designed for creating, running, and deploying “stackable” web services. At its core, SwizzyWeb consists of three key components:

  • SwizzyWebService: A foundational web service framework.
  • Swerve: A versatile execution engine.
  • DynServe: A dynamic hosting platform.

What are Composable Web Services?

Composable web services enable you to build distinct web services and then combine them at runtime into a single, unified instance. Imagine having a separate service for your login page, another for OAuth authentication, and a third for your main application. With SwizzyWeb, you can run these as a single server for development or smaller deployments. Crucially, composable web services also support running separately on different hosts for horizontal scaling, offering unparalleled flexibility in how you deploy and manage your applications. This is the core power SwizzyWeb brings to your services today.

SwizzyWebService: Your Service Foundation

SwizzyWebService is the framework library that provides the base implementations for your web services. Any web service built upon the fundamental WebService class will be immediately compatible with both Swerve and DynServe.

Swerve: The Universal Execution Engine

Swerve empowers you to bootstrap your SwizzyWebServices in any modern JavaScript runtime. This means you can run your services with your preferred engine by simply using swerve (for Node.js), swerveb (for Bun), or swerved (for Deno). Swerve intelligently manages your service’s application directory for web service storage and configures logging. For larger service stacks or reusable configurations, Swerve supports JSON configuration files. Alternatively, you can pass any necessary arguments via command-line.

DynServe: Dynamic Hosting and Management

DynServe is a dynamic hosting web service that provides a intuitive web portal for deploying and managing your SwizzyWebServices. With DynServe, you can easily install, configure, run, and stop your services, streamlining your deployment workflow.


The Road Ahead: A Marketplace for SwizzyWeb

Development on SwizzyWeb is continuously evolving, and we’re incredibly excited about what’s next. Our long-term vision includes building a marketplace where developers can monetize their web services by sharing them with the SwizzyWeb community.

This marketplace will dramatically accelerate time to market for new applications and significantly reduce development effort. Imagine needing a specific microservice—like a payment gateway or a user authentication module—and being able to find, integrate, and deploy a pre-built, production-ready SwizzyWeb service from the marketplace in minutes, not days or weeks. This collaborative ecosystem will empower developers to build sophisticated applications faster than ever before, focusing on their unique business logic rather than reinventing common functionalities.

Discover the future of flexible and scalable web development. Check out the project at SwizzyWeb.com!

Or checkout the source code on github and give us a star!

Jason Gallagher