← all articles
// article

Building without heavy frameworks — direct API calls

2025-12-21

Why Consider a Lighter Path Than Heavy Frameworks?

Building without heavy frameworks largely means directly integrating purpose-built APIs and services rather than relying on a monolithic, all-encompassing framework to handle every aspect of your application. It's about assembling your stack from best-in-class components, connecting them with explicit API calls, and only writing the code that differentiates your product.

The "Swiss Army Knife" Fallacy

Many large frameworks promise a one-stop shop for web development. They offer ORMs, templating engines, authentication systems, and often dictate your entire project structure. While appealing initially, this often leads to what we call the "Swiss Army Knife" fallacy: you get a dozen tools, but you only consistently use two or three, and the rest just add weight and complexity. You're paying for – in terms of learning curve, bundle size, and potential security vulnerabilities – features you don't need.

Maintenance Headaches and Vendor Lock-in

Heavy frameworks come with their own ecosystems, update cycles, and sometimes, their own unique brand of vendor lock-in. A major version upgrade can become a multi-day or even multi-week ordeal, forcing you to refactor significant parts of your codebase to adapt to the framework's new paradigms. This isn't innovation; it's just keeping the lights on. For a small team or a solo founder, such an investment of time and resources is often simply not sustainable.

What Exactly Does "Direct API Calls" Entail?

At its core, direct API calls mean your application (usually the frontend, or a lightweight backend) communicates directly with external services rather than routing everything through a heavy, custom-built backend that re-implements functionality readily available elsewhere. Instead of building your own payment gateway integration, you call Stripe's API. Instead of rolling your own image CDN, you upload to Cloudflare Images and serve from there. Instead of a custom authentication system, you might use an OAuth provider like Auth0 or Clerk.

This approach isn't about shunning all abstraction. It’s about choosing a lean, focused abstraction – often a simple JavaScript library or an HTTP client – to interact with a highly specialized, reliable, and scalable external service.

Beyond REST: GraphQL, gRPC, and Webhooks

While REST APIs are still prevalent, the direct API strategy embraces other communication paradigms too:

What Are the Tangible Benefits of This Leaner Architecture?

The shift to direct API calls and a leaner stack isn't just a philosophical stance; it delivers concrete advantages for SMEs, freelancers, and startups.

Speed and Agility

When you're not wrestling with framework-specific configurations or custom boilerplate, development velocity naturally increases. Developers can focus on core features that provide value to users, rather than plumbing. Iteration cycles shorten, allowing you to get feedback faster and pivot more easily. Imagine launching an MVP in weeks instead of months, simply because you're leveraging battle-tested services rather than building everything from scratch.

Cost Efficiency

This is where the rubber meets the road for many businesses. Serverless functions (like Vercel Functions or Cloudflare Workers) often operate on a pay-per-execution model. You're not paying for idle server time. A simple marketing site with a few serverless functions for forms might cost just a few USD per month on Vercel or Cloudflare Pages, even with significant traffic. Compare that to a dedicated server costing €50-€100/month just for hosting a traditional framework application.

Furthermore, many API-first services offer generous free tiers. Stripe's transaction fees only kick in when you actually make sales. Mailgun offers a substantial free tier for sending emails. This significantly reduces your operational expenditure until you achieve scale.

True Flexibility

By decoupling your application into independent services, you gain unprecedented flexibility. Want to swap your database? No problem, as long as the new one offers a compatible API. Need to scale a specific part of your application without touching the rest? Easy, because each service can scale independently. This modularity means you're not locked into a single technology stack or a single vendor's ecosystem.

"The best code is no code at all. The next best code is reusable code." – This adage perfectly encapsulates the direct API approach. Why write it if someone else has already perfected it?

Which Tools Enable This Direct API Strategy?

The modern web is rich with services designed to be consumed via APIs. Here are some categories and examples:

When Might This Lean Approach Be Less Suitable?

While powerful, building with direct API calls isn't a silver bullet for every project. There are scenarios where a more integrated framework might be a better fit:

How Does SISL Approach Building Without Heavy Frameworks?

At SISL, we advocate for pragmatism. Our primary goal is always to deliver robust, scalable, and maintainable solutions that genuinely serve our clients' business needs, not to blindly follow trends or dogmas. We often gravitate towards leaner architectures because, for many SME owners, freelancers, and startup founders we work with, speed to market, cost efficiency, and long-term maintainability are paramount.

We help clients identify which parts of their application can be offloaded to reliable, specialized services and which require custom code. This often means building frontends with modern JavaScript frameworks or even vanilla JS, paired with serverless functions for specific backend logic, and integrating with best-in-class APIs for payments, authentication, and more. This modular approach allows for rapid development, easier scaling, and significantly reduces the technical debt that can plague projects built on overly complex foundations.

We believe in building only what's necessary, leveraging the vast ecosystem of modern web services to create powerful applications that remain agile and cost-effective throughout their lifecycle. If you're pondering the right architecture for your next project, or simply want to get in touch to discuss how a lean approach could benefit your business, we're always happy to chat.

Conclusion

Steering clear of heavy frameworks and embracing direct API calls isn't about rejecting established tools; it's about making deliberate choices. It's about recognizing that the modern web offers a rich tapestry of specialized services, each expertly solving a particular problem. By connecting these services directly, you can build applications that are faster, cheaper to operate, more flexible, and ultimately, more aligned with your actual business goals. It's a pragmatic, powerful path forward for anyone looking to innovate efficiently.

Got a similar problem?

Boutique web development studio from Poland — sites, WooCommerce / Magento stores, custom web apps and landings. See what we shipped.

See SISL portfolio →

Free technical audit of your site — in 24h

Core Web Vitals measured on real users, indexability, structured data, meta and internal linking. A written report with prioritised fixes, not a PDF from a generic tool. No cost, no call required.

Get the free audit →