This EdgeSpark quickstart shows you how to install the CLI, create a full-stack app, and deploy it to Cloudflare’s edge. It is the fastest path if you want to evaluate EdgeSpark for Hono, D1, auth, R2, and AI coding agent workflows.Documentation Index
Fetch the complete documentation index at: https://docs.edgespark.dev/llms.txt
Use this file to discover all available pages before exploring further.
Log in
edgespark login, the CLI prints the URL for you to open manually in your browser. After you approve the login, the next EdgeSpark CLI command completes the login and stores your credentials in ~/.edgespark/credentials.json.Create a project
my-app/ directory and:- Creates the project on the platform
- Scaffolds the current fullstack project layout
- Pulls generated platform files such as SDK types and system schema
Files in
server/src/__generated__/ are auto-generated. Do not edit them manually.Install dependencies
EdgeSpark does not use a root workspace for the scaffold. Install dependencies in
server/ and web/ separately:Write your first route
Open
server/src/index.ts. The scaffold exports a static Hono app and lets you import the runtime SDK where you need it:server/src/index.ts
Deploy your project
401 response means auth is being enforced correctly:Staging environments are coming soon. Today, a newly created project starts with one default production environment and
edgespark deploy updates that live environment directly.What’s next
Development workflow
Learn the full repo-based loop for schema, storage, auth config, vars, secrets, and deploys.
How EdgeSpark works
Understand the platform before building more complex features.
Add a database table
Define schema in
server/src/defs/ and migrate your D1 database with Drizzle.Add file uploads
Declare buckets in
server/src/defs/storage_schema.ts and sync them with the CLI.Use secrets
Store API keys and access them from your routes.