suna/frontend
marko-kraemer 0dd3b604fe wip 2025-08-17 16:24:02 -07:00
..
public wip 2025-08-05 17:25:23 -07:00
src wip 2025-08-17 16:24:02 -07:00
.dockerignore
.env.example refactor wip 2025-08-16 17:44:57 -07:00
.gitignore
.prettierignore
.prettierrc
Dockerfile
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 Integrate PostHog analytics and tracking 2025-08-08 15:24:12 +05:30
package-lock.json mobile responsive wip 2025-08-12 20:08:17 -07:00
package.json mobile responsive wip 2025-08-12 20:08:17 -07:00
postcss.config.mjs
tsconfig.json

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