Skip to main content

Adding a backend

Add server-side APIs with a database to any app. Appifex handles the infrastructure -- you describe what you need.

When you need a backend

  • User accounts -- Authentication and authorization
  • Persistent data -- Store and retrieve information
  • Business logic -- Server-side processing
  • Secure API keys -- Third-party integrations
  • File uploads -- Process and store files

Getting started

From scratch

"Build a REST API for a blog with user registration,
CRUD for posts, comments, categories, and a database"

Adding to an existing frontend

"Add a backend to store tasks in a database.
Include user authentication. Update the frontend to use the new API."

What you get

ComponentDetails
API endpointsAuto-generated based on your prompt
DatabasePostgreSQL, set up and connected
API documentationInteractive page where you can test endpoints
AuthenticationEmail/password auth when requested

Authentication

"Add email/password authentication with password reset"

Environment variables

Store API keys and secrets securely in project settings -> Environment.

Example prompts

E-commerce backend:

"Product catalog, shopping cart, Stripe payments, order history"

Social app API:

"User profiles, follow system, posts with likes/comments,
feed algorithm, notifications"

SaaS multi-tenant:

"Organization management, team invitations,
role-based permissions, usage tracking"