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

  1. Visit Pure Dev
  2. Click "Sign In with Google"
  3. Authorize the application

Step 2: Create Your First API

  1. From the dashboard, click "Create New API"
  2. 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

  1. Open the API Testing panel
  2. Select the GET method
  3. Enter /hello as the path
  4. Click "Send" to test your endpoint

Step 6: Database Integration (Optional)

If you're using Supabase:

  1. Navigate to Database settings
  2. Connect your Supabase project
  3. Pure Dev will automatically generate TypeScript types for your schema

Step 7: Deploy

  1. Click the "Deploy" button in the top navigation
  2. Review your deployment settings
  3. Click "Deploy to Production"

Your API will be deployed and you'll receive a production URL.

Next Steps

Common Questions