Quick Start Guide
This guide will walk you through creating and deploying your first API with Pure Dev.
Prerequisites
- A Google account for authentication
- A Supabase account (recommended for database features)
Step 1: Sign In
- Visit Pure Dev
- Click "Sign In with Google"
- Authorize the application
Step 2: Create Your First API
- From the dashboard, click "Create New API"
- In the creation modal:
- Enter your API name
- Choose the standard template
- Click "Create"
Step 3: Explore the IDE
Once your API is created, you'll be taken to the Pure Dev IDE. Here's what you'll find:
- Editor: VS Code-powered TypeScript editor
- Route Navigator: Visual route configuration
- API Testing: Built-in request builder
- Database Panel: SQL query interface (when connected to Supabase)
Step 4: Create Your First Endpoint
The standard template includes a basic project structure. Let's examine a simple endpoint:
import { Hono } from 'hono'
const app = new Hono()
app.get('/hello', (c) => {
return c.json({
message: 'Hello from Pure Dev!'
})
})
export default app
Step 5: Test Your API
- Open the API Testing panel
- Select the GET method
- Enter
/hello
as the path - Click "Send" to test your endpoint
Step 6: Database Integration (Optional)
If you're using Supabase:
- Navigate to Database settings
- Connect your Supabase project
- Pure Dev will automatically generate TypeScript types for your schema
Step 7: Deploy
- Click the "Deploy" button in the top navigation
- Review your deployment settings
- Click "Deploy to Production"
Your API will be deployed and you'll receive a production URL.
Next Steps
- Learn about Database Integration
- Explore Route Management
- Set up Custom Domains