AI Wallpaper Generator by aiwallpaper.shop
- clone project
git clone https://github.com/all-in-aigc/aiwallpaper
- install dependencies
cd aiwallpaper
pnpm install
- init database
create your database use local postgres or vercel-postgres or supabase
create tables from sql at data/install.sql
- set environmental values
put .env.local
under aiwallpaper
root dir with values list below
OPENAI_API_KEY=""
POSTGRES_URL=""
AWS_AK=""
AWS_SK=""
AWS_REGION=""
AWS_BUCKET=""
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
STRIPE_PUBLIC_KEY=""
STRIPE_PRIVATE_KEY=""
WEB_BASE_URI=""
- local development
pnpm dev
open http://localhost:3000
for preview
- gpts.works for code reference
- nextjs for full-stack development
- clerk for user auth
- aws s3 for image storage
- stripe for payment
- node-postgres for data processing
- tailwindcss for page building
you can contact me at Twitter: https://twitter.com/idoubicc
if this project is helpful to you, buy be a coffee.