Skip to content

AI Saas project for Hanko hackathon (Won the price for being among the top projects 🔥)

License

Notifications You must be signed in to change notification settings

akins-dev/Hanko-Project

Repository files navigation

An AI Platform with Next.js 14, React 18, TailwindCSS, Hanko, Supabase, Bun, Prisma, Typescript, Shadcn UI

Features:

Prerequisites

Bun

Cloning the repository

git clone https://github.com/akins-dev/Hanko-Project.git

Install packages

make setup

Setup .env file

Rename .env.local.example to .env and add the following:

NEXT_PUBLIC_HANKO_API_URL=""

OPENAI_API_KEY=""

REPLICATE_API_TOKEN=""

# Connect to Supabase with PgBouncer.
DATABASE_URL="postgres://postgres:__PASSWORD__@db.__YOUR_SUPABASE_PROJECT__.supabase.co:6543/postgres?pgbouncer=true"

# Direct connection to the database. Used for migrations.
DIRECT_URL="postgres://postgres:__PASSWORD__@db.__YOUR SUPABASE_PROJECT__.supabase.co:5432/postgres"

Setup Prisma

Add PosgreSQL Database (I used supabase)

bunx prisma db push

Start the app

bun run dev

Available commands

Running commands with npm bun run [command]

command description
dev Starts a development instance of the app

Important!

make sure you use localhost:3000 as your website url when creating a new project with hanko

About

AI Saas project for Hanko hackathon (Won the price for being among the top projects 🔥)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published