// Create a table
fetch("https://api.ezdb.com/v1/tables", {
method: "POST",
body: JSON.stringify({
name: "users",
schema: {
name: "string",
age: "number",
},
}),
});
// Insert a document
fetch("https://api.ezdb.com/v1/tables/users", {
method: "POST",
body: JSON.stringify({
name: "John Doe",
age: 21,
}),
});
// Query a document
fetch("https://api.ezdb.com/v1/tables/users", {
method: "GET",
body: JSON.stringify({
name: "John Doe",
}),
});Serverless microservices have a place in modern architecture. ezDB embraces this by replacing a tcp pool with a built-in high performance http endpoint.
Storing and processing data should not be as expensive as it is. The ezDB team works tirelessly to bring down the price of hosting, for the benefit of everyone!
SQL is hard. Documents are easier. ORMs are hard. API requests are easier. Still difficult? We'll guide you through it all with our AI helpbot.
Both the CLI and all language drivers are fully open source. Never get stuck by a bug that could be easily solved in the source ever again!