Stop building backend for simple API calls.

Every developer has been there. You have a great idea for a simple weather dashboard or a crypto tracker. You grab a free API key from a service like WeatherAPI.com, and then you hit a wall:
You can’t put that key in your frontend code because it will be leaked instantly.
So, what do you do? You spend two hours setting up a Node.js server, configuring Express, handling CORS, and deploying a "proxy" just to hide one string.
That’s the Backend Tax — and it’s a waste of your time.
In this guide, we’ll build a weather app using the Salting Layer. No backend, no server costs, and total security.
The Salting Layer is a secure bridge between your frontend and third‑party APIs. Instead of building a custom proxy server, you use SaltingIO to wrap your API calls in a protected shell. It handles the security; you focus on the UI.
We’ll use the WeatherAPI free tier (1M calls/month) for this example.
Instead of using your raw API key, go to your SaltingIO Dashboard and create a new Public Record.
Record Content: paste your full WeatherAPI URL:
https://api.weatherapi.com/v1/current.json?key=YOUR_ACTUAL_KEY&q={{city}}
Visibility: set to Public
By setting {{city}} as a dynamic parameter, the Bridge URL can now handle any location request instantly.
This is the magic step. Since the link is public, you don’t want others piggybacking on your quota. In the record settings, enable Domain Locking (CORS protection) and enter your website’s domain (e.g., myweatherapp.vercel.app or localhost).
Even though the link is public, it will only return data if the request comes from your domain.
Your new SaltingIO Bridge URL will look like:
https://salting.io/r/697dcbd8-8994-8392-b958-95a218301f8e
Fetch data in your frontend by appending a city parameter for the city:
// Simple, clean, and secure. No backend needed.
const res = await fetch("https://api.salting.io/r/697dcbd8-8994-8392-b958-95a218301f8e&city=Paris");
const data = await res.json();
console.log(data);
Ready to build the UI? Copy/paste this into ChatGPT/Claude/v0 to generate your website instantly:
Build a modern, responsive weather dashboard using Tailwind CSS and Vanilla JavaScript. The app should have a search bar for cities and a beautiful card to display the temperature, condition, and air quality. Important: I do not have a backend. Use this SaltingIO URL for fetching data:
https://api.salting.io/r/YOUR_RECORD_ID. Append the city name to the URL using the?city=query parameter. The SaltingIO handles security, so focus on a clean, glassmorphism design.
Building great apps shouldn’t require managing heavy infrastructure. Using SaltingIO as your security layer eliminates the Backend Tax and lets you get back to what matters: building.
Deploy your first Salting Layer for Free → SaltingIO
Professional API security without the "Backend Tax."