8000 GitHub - aksanoble/archive-hasu · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Hasu - Todo Application

⚠️ WARNING: This is a todo application. Use it with caution. Code is entirely written by multiple LLM agents.

This is a todo application which is inspired by Todoist.

A React-based todo application built with modern web technologies.

Initial Setup

You need to have a Supabase account to host this application.

1. Create User Account

Before running the migrations, create a user account:

  • Go to your Supabase project dashboard
  • Navigate to Authentication > Users
  • Click "Add user" or "Invite user"
  • Use email: admin@hasu.app
  • Set your own password

2. Disable New User Signups

To prevent unauthorized access, disable new user signups:

  • Go to your Supabase project dashboard
  • Navigate to Authentication > Settings
  • Under "User Registration", disable "Enable email confirmations"
  • Set "Enable sign up" to OFF
  • This ensures only manually created users can access the application

3. Database Setup

You need to create the necessary tables either by:

  • Running hasu_migration_bundle.sql in the Supabase browser SQL console, OR
  • Running migrations locally using the following commands:
npm install
npm run db:migrate

4. Enable Realtime Updates

Enable realtime updates on the following tables in the public schema:

  • hasutodo_todos
  • hasutodo_projects

Go to your Supabase dashboard > Database > Replication and enable realtime for these tables.

Development

For development setup and contribution guidelines, see CONTRIBUTION.md.

Environment Variables (Supakey OAuth)

Add these variables (e.g. in .env.local) to enable "Login with Supakey":

# Required: Your Supabase project URL for edge function calls (token exchange)
REACT_APP_SUPAKEY_URL=https://YOUR-PROJECT-ID.supabase.co

# Optional: Supakey frontend URL for authorization (defaults to http://localhost:5173)
REACT_APP_SUPAKEY_FRONTEND_URL=http://localhost:5173

# Optional: Other OAuth settings
REACT_APP_SUPAKEY_ANON_KEY=ey...
REACT_APP_HASU_APP_IDENTIFIER=github.com/aksanoble/hasu
REACT_APP_SUPAKEY_CLIENT_ID=hasu-web

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0