Skip to content

Repository files navigation

Sentient

Run frontend

npm install
npm start

Frontend runs on http://localhost:4200.

Run backend

cd backend
go mod download
go run .

Backend runs on http://localhost:8080 by default. Set PORT to override (used by most free hosting providers).

Supabase persistence for Slack signals

  1. In Supabase SQL editor, run backend/supabase_signals.sql.
  2. Set backend env vars:
$env:SUPABASE_URL="https://<project-ref>.supabase.co"
$env:SUPABASE_SERVICE_ROLE_KEY="<service-role-key>"
$env:SUPABASE_SIGNALS_TABLE="signals"  # optional, default is signals
  1. Start backend from backend/.

When these env vars are set, Slack-imported signals are upserted into Supabase and /api/signals reads from Supabase.

Security note: use only the service-role key on backend server side. Never expose it in frontend code.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages