DBLayer transforms your database into a powerful, secure API with just a few lines of code. No complex configuration required.
const requestOptions = {
method: "GET"
}
fetch("https://cake.dblayer.dev/public-endpoints-72b8/get-user-2fe9?limit=10", requestOptions)
.then((response) => response.json())
.then((data) => {
console.log("API Response:", data);
})
.catch((error) => {
console.error("Error:", error);
});
Get your database API running in three simple steps
Provide your database connection string securely through our dashboard or API.
Create endpoint, write query
Your API endpoint is instantly available. Start making requests right away.