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

# Database and authentication

> Use HypeFrame's built-in database and authentication. Just ask the agent to set up data storage and user management for your projects.

## What you can do

With HypeFrame's built-in database and authentication, you can:

* **Store data** - Save and manage any data your application needs
* **User authentication** - Set up login, signup, and user management
* **Build features** - Create CRMs, dashboards, admin panels, and more
* **Manage users** - Handle user accounts, profiles

Everything is built right into HypeFrame—no external database or auth service needed.

## Getting started

Using the database and authentication is simple. Just ask the HypeFrame agent what you want to build:

<Steps>
  <Step title="Describe what you need">
    Tell HypeFrame what you want to create. For example:

    * "Set up user authentication with login and signup pages"
    * "Create a database to store customer information"
    * "Build a CRM system with contacts and deals"
  </Step>

  <Step title="Let HypeFrame build it">
    HypeFrame will set up the database structure, create the necessary tables, and
    build the authentication system automatically.
  </Step>

  <Step title="Use in your app">
    Once set up, you can start using the database and authentication features in your application right away.
  </Step>
</Steps>

## Setting up authentication

User authentication is built into HypeFrame. Just ask the agent to set it up:

### Basic authentication

> "Set up user authentication with login and signup pages"

HypeFrame will create:

* Login page
* Signup/registration page
* User session management
* Protected routes

### Advanced authentication

> "Add authentication with email verification and password reset"

You can request additional features like:

* Email verification
* Password reset functionality
* Social login options
* User profile management

<Info>
  Authentication is fully integrated with HypeFrame's built-in database, so user
  accounts are stored securely without needing external services.
</Info>

## Building with the database

You can build almost anything using HypeFrame's built-in database. Here are some examples:

### Customer Relationship Management (CRM)

> "Build a CRM system where I can store customer contacts, track deals, and manage follow-ups"

HypeFrame will create:

* Database tables for contacts, deals, and interactions
* Pages to view, add, edit, and delete records
* Search and filter functionality
* Relationship tracking between contacts and deals

### E-commerce system

> "Create an e-commerce system with products, shopping cart, and order management"

HypeFrame will set up:

* Product database with categories and inventory
* Shopping cart functionality
* Order tracking system
* User accounts for customers

### Task management app

> "Build a task management app where users can create projects, add tasks, and track progress"

HypeFrame will build:

* Database for projects and tasks
* User authentication for team members
* Task assignment and status tracking
* Project organization

### Content management system

> "Create a CMS where I can manage blog posts, categories, and authors"

HypeFrame will create:

* Database structure for posts, categories, and authors
* Admin interface for content management
* User roles and permissions
* Publishing workflow

### Analytics dashboard

> "Build an analytics dashboard that stores and displays user activity data"

HypeFrame will set up:

* Database to store analytics events
* Dashboard with charts and metrics
* Data aggregation and reporting
* User activity tracking

## Example prompts

Here are more examples of what you can build:

### Simple data storage

> "Create a contact form that saves submissions to the database with name, email, and message fields"

> "Set up a database to store product inventory with name, price, stock level, and category"

### User management

> "Add user profiles where users can update their name, email, and profile picture"

> "Create an admin panel where admins can view and manage all user accounts"

### Complex applications

> "Build a project management tool with teams, projects, tasks, and time tracking"

> "Create a booking system where users can book appointments, and admins can manage the calendar"

> "Set up a marketplace where users can list items for sale and other users can purchase them"

## How it works

When you ask HypeFrame to build something with the database:

1. **Database design** - HypeFrame designs the database structure based on your requirements
2. **Tables creation** - Creates the necessary database tables automatically
3. **API setup** - Sets up endpoints to read, write, and manage data
4. **UI components** - Builds the interface to interact with your data
5. **Integration** - Connects everything together in your application

<Info>
  The database is fully managed by HypeFrame, so you don't need to worry about
  setup, configuration, or maintenance. Just describe what you need, and it's
  ready to use.
</Info>

## Authentication features

HypeFrame's built-in authentication includes:

* **User registration** - Signup pages and account creation
* **Login/logout** - Secure session management
* **Password management** - Password reset and change functionality
* **User profiles** - Profile pages and account settings
* **Protected routes** - Secure pages that require authentication
* **Session handling** - Automatic session management

Just ask for what you need, and HypeFrame will set it up.

## Tips for better results

* **Be specific**: Describe what data you want to store and how it should be organized
* **Mention relationships**: If data connects (like users and orders), mention those relationships
* **Include functionality**: Describe what users should be able to do with the data
* **Think about access**: Mention who should be able to view or edit what

<Warning>
  Make sure to describe your requirements clearly. The more specific you are
  about the data structure and functionality, the better HypeFrame can build
  exactly what you need.
</Warning>

## Troubleshooting

### Database not working as expected

If the database structure isn't what you wanted:

* Try being more specific about the data structure
* Mention the relationships between different data types
* Ask for adjustments or modifications
* Describe how the data should be organized

### Authentication issues

If authentication isn't set up correctly:

* Make sure you clearly requested authentication features
* Specify what authentication features you need (login, signup, password reset, etc.)
* Ask HypeFrame to add or modify authentication components

### Data not saving

If data isn't being saved:

* Verify that the database was set up correctly
* Check that you're using the correct prompts to save data
* Ask HypeFrame to review the database structure

## Need help?

<Info>
  Questions about using the database or authentication? Need help building a
  specific feature? Reach out at
  [contact@hypeframe.ai](mailto:contact@hypeframe.ai) for assistance.
</Info>
