suna/frontend
Saumya 6a7999211b fix: remove pagination for kortix templates 2025-10-07 23:42:23 +05:30
..
public feat: Add model provider icons and consolidate agent selection components 2025-09-29 19:10:39 +02:00
scripts rem template share sys & simplify 2025-08-29 19:04:33 -07:00
src fix: remove pagination for kortix templates 2025-10-07 23:42:23 +05:30
.dockerignore Removed env and run command from compose file 2025-07-12 21:45:42 +05:45
.env.example fix: add model name for triggers 2025-10-06 23:30:16 +05:30
.gitignore feat(sentry): add Sentry integration for error tracking and monitoring 2025-05-27 08:35:31 +00:00
.prettierignore
.prettierrc
Dockerfile fix: restore build dependencies 2025-07-13 14:56:34 +05:30
README.md enterprise page 2025-08-08 18:23:21 -07:00
components.json
eslint.config.mjs
instrumentation-client.ts Integrate PostHog analytics and tracking 2025-08-08 15:24:12 +05:30
next.config.ts rem template share sys & simplify 2025-08-29 19:04:33 -07:00
package-lock.json feat: Add full-screen onboarding with user type and role selection 2025-09-26 20:04:33 +02:00
package.json mermaid render, refactor markdown 2025-09-22 16:47:01 +02:00
postcss.config.mjs
tsconfig.json wip 2025-07-10 04:15:45 +02:00

README.md

Kortix Frontend

Quick Setup

The easiest way to get your frontend configured is to use the setup wizard from the project root:

cd .. # Navigate to project root if you're in the frontend directory
python setup.py

This will configure all necessary environment variables automatically.

Environment Configuration

The setup wizard automatically creates a .env.local file with the following configuration:

NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
NEXT_PUBLIC_BACKEND_URL=http://localhost:8000/api
NEXT_PUBLIC_URL=http://localhost:3000
NEXT_PUBLIC_ENV_MODE=LOCAL

Getting Started

Install dependencies:

npm install

Run the development server:

npm run dev

Build for production:

npm run build

Run the production server:

npm run start

Development Notes

  • The frontend connects to the backend API at http://localhost:8000/api
  • Supabase is used for authentication and database operations
  • The app runs on http://localhost:3000 by default
  • Environment variables are automatically configured by the setup wizard