> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kleap.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Glossary

> Definitions of common terms

Quick reference for terms used in Kleap and web development.

## A

### API (Application Programming Interface)

A way for different software applications to communicate. Kleap sites are static-first; server-side logic and data are handled by the built-in Kleap Database when you need them.

### API Route

A server-side endpoint that handles HTTP requests (a common pattern in traditional web frameworks). Kleap sites are static — use the built-in Kleap Database for dynamic behavior instead.

### app\_files

Kleap's managed store and source of truth for every file in your site. Kleap versions your files for you — there's no repo, sandbox, or local checkout to manage.

### Astro

The web framework Kleap builds with. Astro 5 produces fast, static-first sites (Tailwind CSS v4, TypeScript) and hydrates interactive React "islands" only where needed.

### Authentication

The process of verifying a user's identity, typically through login with email/password or OAuth.

### Authorization

Determining what an authenticated user is allowed to do. Different from authentication.

## B

### Build

The process of compiling your app into optimized files for production deployment.

### Bundle

The compiled JavaScript files that are sent to the browser.

## C

### CDN (Content Delivery Network)

A network of servers distributed globally that serves your content from the nearest location to users.

### Client Component

A React component that runs in the browser. In Astro, add a `client:*` directive (e.g. `client:load`, `client:visible`) to hydrate it as an island.

### CORS (Cross-Origin Resource Sharing)

Security mechanism that controls which domains can access your API.

### Credit

The unit of usage in Kleap. Each AI interaction consumes credits based on complexity.

### CRUD

Create, Read, Update, Delete - the four basic database operations.

## D

### Deployment

The process of publishing your app to make it accessible on the internet.

### DNS (Domain Name System)

The system that translates domain names (example.com) to IP addresses.

### DOM (Document Object Model)

The programming interface for HTML documents that allows JavaScript to manipulate page content.

## E

### Edge Function

Serverless functions that run at the edge (close to users) for faster response times.

### Environment Variable

A variable set outside your code that configures behavior (like API keys).

## F

### Favicon

The small icon that appears in browser tabs for your website.

### Framework

A pre-built structure that provides common functionality. Kleap builds sites with Astro.

### Frontend

The client-side part of an application that users interact with directly.

## G

### Git

Version control system for tracking code changes.

### GitHub

A platform for hosting Git repositories and collaborating on code.

## H

### Hook

In React, functions that let you use state and other features in functional components (useState, useEffect, etc.).

### Hot Reload

Automatic browser refresh when you make code changes during development.

### HTTPS

Secure version of HTTP that encrypts data in transit.

### Hydration

The process where React takes over server-rendered HTML and makes it interactive.

## I

### IDE (Integrated Development Environment)

A software application for writing code. Kleap has a built-in code editor.

### Island

An interactive component (such as a React island) hydrated on an otherwise static Astro page. Only islands ship JavaScript, keeping pages fast.

## J

### JSX

JavaScript XML - syntax extension that lets you write HTML-like code in JavaScript.

### JWT (JSON Web Token)

A secure way to transmit information between parties, commonly used for authentication.

## K

### Kleap

AI-powered platform for building Astro websites using natural language.

### Kleap Database

Kleap's optional built-in database: a managed database that keeps each user's data private, with built-in email/password accounts. Enable it on demand — there's no external database to connect.

## L

### Lazy Loading

Technique of loading content only when needed, improving initial load time.

### Layout

A component that wraps pages to share common structure (header, footer, meta). Astro sites use layout components for this.

## M

### Metadata

Data about your page (title, description) used by search engines and social media.

### Migration

A database change script that modifies the schema.

### Middleware

Code that runs between a request and response, often for auth or redirects.

## N

### Node.js

JavaScript runtime that allows JavaScript to run on servers.

### NPM (Node Package Manager)

Tool for installing and managing JavaScript packages.

## O

### OAuth

Standard for authorization that allows users to grant access without sharing passwords.

### OG (Open Graph)

Protocol for controlling how your content appears when shared on social media.

## P

### Preview

The live view of your site while you build in Kleap — a real, ephemeral Astro build rendered in the editor.

### Production

The live version of your app that real users access.

### Props

Properties passed to React components.

### PWA (Progressive Web App)

A web app that can be installed on devices and work offline.

## R

### React

JavaScript library for building user interfaces. In Kleap, React powers interactive islands on Astro pages.

### Responsive Design

Design approach that adapts to different screen sizes.

### REST (Representational State Transfer)

Architectural style for designing networked applications.

### Route

A URL path that maps to a specific page or API endpoint.

## S

### SaaS (Software as a Service)

Software delivered over the internet on a subscription basis.

### Sandbox

An isolated environment for running code. Kleap previews Astro sites with an ephemeral in-editor build, so there's no persistent sandbox to manage.

### Schema

The structure of your database (tables, columns, relationships).

### SEO (Search Engine Optimization)

Practices to improve your site's visibility in search results.

### Server Component

A React component that renders on the server (a concept in some frameworks). Kleap sites are static Astro, rendered ahead of time.

### Serverless

Computing model where the cloud provider manages servers automatically.

### SSR (Server-Side Rendering)

Rendering pages on the server before sending to the browser.

### State

Data that determines a component's behavior and rendering.

## T

### Tailwind CSS

Utility-first CSS framework. Kleap styles Astro sites with Tailwind CSS v4.

### Template

Pre-built starting point for creating new apps.

### TypeScript

JavaScript with static type checking, used by Kleap apps.

## U

### UI (User Interface)

The visual elements users interact with.

### URL (Uniform Resource Locator)

Web address that points to a specific resource.

### UX (User Experience)

The overall experience a user has with your application.

## V

### Version Control

System for tracking changes to code over time (like Git).

### Version History

Record of changes made to your app over time.

## W

### Webhook

HTTP callback that sends data when an event occurs.

### WebSocket

Protocol for real-time, two-way communication between client and server.

## Need More Terms?

Missing a definition? Let us know on Discord or email [hello@kleap.co](mailto:hello@kleap.co).
