Hanko Next.js Starter (App directory)
This an AI web app that would genenrate rededesign images of your room. It has been built using:
- NextJS
- Hanko for auth
- Supabase for Database and storage
- Prisma for ORM
- 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.gitSetting 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:
- Hanko
- Supabase: The anon key has been used in the project
- Supbase URI for Prisma
- Replicate
Install dependencies
pnpm installSetting up Prisma--Migrate your Database
pnpm prisma migrate devRun the project
pnpm run dev