Get your Python & Node.js apps / APIs on the internet in seconds. Learn more →
from fastapi import FastAPI app = FastAPI() @app.get("/") def hello(): return "Hello from my Deta Micro"
const express = require("express"); const app = express(); app.get("/", async (req, res) => { res.send("Hello from my Deta Micro") }); module.exports = app;
$ deta new $ Deploying ⠝ $ Successfully created a Deta Micro. $ https://hello.deta.dev/ ↗
Deta Base is a super easy to use production-grade NoSQL database that comes with unlimited storage. Learn more →
from deta import Base fleet = Base("fleet") # name your Base fleet.put({"name": "Geordi", "cto": True, "key": "1"}) fleet.get("1") # get item by key fleet.fetch() # list all items fleet.update({"name": "Geordi La Forge", "key": "1"}) fleet.delete("1")
const { Base } = require("deta"); const fleet = Base("fleet"); // name your Base fleet.put({"name": "Geordi", "cto": True, "key": "1"}) fleet.get("1") // get item by key fleet.fetch() // list all items fleet.update({"name": "Geordi La Forge", "key": "1"}) fleet.delete("1")
package main import ( "github.com/deta/deta-go/deta" "github.com/deta/deta-go/base" ) d, err := deta.New() // name your Base fleet, err := base.New(d, "fleet") // put an item in the Base key, err := fleet.Put(&User{ Key: "1", CTO: true, Name: "Geordi", })
curl --location --request PUT \ 'https://database.deta.sh/v1/{project_id}/{db}/items' \ --header 'X-API-Key: mysecret_project_key' \ --header 'Content-Type: application/json' \ --data-raw '{ "items": [ { "name": "Geordi", "title": "Chief Engineer", "has_visor": true }, ] }'
The easy to use cloud storage solution by Deta – get 10GB for free. Learn more →
from deta import Drive files = Drive("invoices") # name your Drive files.put("invoice.pdf", path="./invoice.pdf") files.get("invoice.pdf") # get file by name files.list() # list all files in a drive files.delete("invoice.pdf")
const { Drive } = require("deta"); const files = Drive("invoices"); // name your Drive files.put("invoice.pdf", {path: "./invoice.pdf"}); files.get("invoice.pdf"); // get file by name files.list(); // list all files in a drive files.delete("invoice.pdf");
package main import ( "strings" "github.com/deta/deta-go/deta" "github.com/deta/deta-go/drive" ) d, err := deta.New() // name your Drive files, err := drive.New(d, "files") // put a file name, err = files.Put(&drive.PutInput{ Name: "hello.txt", Body: strings.NewReader("Hello"), ContentType: "text/plain", })
curl --location --request PUT \ 'https://drive.deta.sh/v1/{id}/{dname}/files?name={name}' \ --header 'X-API-Key: mysecret_project_key' \ --header 'Content-Type: application/octet-stream' \ --data-raw '--raw-bytes--'
Deploy to millions of users & make $$$ with a click
on the only ∞ scale, 0 ops cloud in the universe!
Although many students and university staff swear by it
Unlike 'big cloud', Deta is made with developers in mind. We have no plans to shift our focus to selling to enterprise.
Credit cards and server costs are creativity-killers for developers worldwide. Deta is free, built to back creators and their ideas.
Deta is building tools to help developers earn money. We aspire to pay you, not charge you.