Files
neta/README.md
T
Poyraz 72a0b38f3e Remove obsolete scripts and configuration files for self-hosting and database migrations
- Deleted `pnpm-workspace.yaml` as it is no longer needed.
- Removed `apply-migrations.sh` script that handled database migrations.
- Eliminated `generate-full-stack-env.mjs` script for environment variable generation.
- Deleted `selfhost-backup.sh` script for creating backups of the self-hosted environment.
- Removed `selfhost-doctor.sh` script for health checks of the self-hosted services.
- Deleted `selfhost-restore.sh` script for restoring backups in the self-hosted environment.
2026-06-16 09:57:32 +03:00

2.3 KiB

Neta Icon

Neta

Neta is a freelancer operating system built with Next.js and Supabase. It manages clients, projects, tasks, finance, daily logs, analytics, AI chat, and a limited client portal.

This repository now ships only the web application. It does not bundle Supabase, PostgreSQL, Docker Compose, installers, migration runners, or backup scripts. Bring your own Supabase project and provide the required environment variables in the deploy platform.

Stack

  • Next.js App Router
  • React
  • Tailwind CSS
  • Poyraz UI
  • Supabase Auth, Postgres, Storage, and RLS
  • Vercel AI SDK

Requirements

  1. A Supabase project that already contains Neta's database schema, RLS policies, RPC functions, and storage buckets.
  2. Supabase project credentials:
    • Project URL
    • Anon/public key
    • Service role key
  3. Node.js 20 or newer.

See docs/04-supabase-kurulumu.md for the expected Supabase-side resources.

Environment Variables

Copy .env.example to .env.local for local development, or add the same values in Vercel, Coolify, Dokploy, or your hosting provider.

NEXT_PUBLIC_SITE_URL=https://your-domain.com
NEXT_PUBLIC_SUPABASE_URL=https://your-project-ref.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key

SUPABASE_SERVICE_ROLE_KEY is server-only. Do not expose it with a NEXT_PUBLIC_ prefix.

Local Development

npm install
npm run dev

Open http://localhost:3000.

Production Build

npm run build
npm run start

Deploy

Vercel

  1. Import the GitHub repository.
  2. Add the environment variables from .env.example.
  3. Deploy with the default Next.js settings.

Coolify or Dokploy

  1. Create a standard Next.js application from this GitHub repository.
  2. Use the platform's normal install/build/start commands:
    • Install: npm install
    • Build: npm run build
    • Start: npm run start
  3. Add the environment variables from .env.example.

No Dockerfile or Compose file is required.

First Admin

After deploying against a prepared Supabase project, open /register once to create the first freelancer/admin account. Registration is locked after the first admin profile exists.

License

This project is proprietary and intended for personal self-hosting with an external Supabase project.