Skip to content

Rajarshi-Misra/Hanko-AI-App

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hanko Next.js Starter (App directory)

This an AI web app that would genenrate rededesign images of your room. It has been built using:

  1. NextJS
  2. Hanko for auth
  3. Supabase for Database and storage
  4. Prisma for ORM
  5. Replicate to get the AI models The web app has been hosted on Vercel

Clone the repo

https://github.com/Rajarshi-Misra/Hanko-AI-App.git

Setting Up The Environment Variables

After setting up cloning the project you need to set up the environment variables declared in .env.example. Check this on how environment variables are stored in NexJS. However, don't push it to a public repository for hosting on any platform. If you plan to host it on Vercel(as in the case for this project). Check this link Go to the following link to see how to get the necessary variables:

  1. Hanko
  2. Supabase: The anon key has been used in the project
  3. Supbase URI for Prisma
  4. Replicate

Install dependencies

pnpm install

Setting up Prisma--Migrate your Database

pnpm prisma migrate dev

Run the project

pnpm run dev