A Next.js-based portfolio website for showcasing interactive 3D scenes using Splat visualization technology.
Demo: Hosted on Vercel
This portfolio website features:
Clone the repository
Install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
Copy environment variables:
cp example.env.local .env.local
Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
Set up environment variables:
DATABASE_URL
is configured in .env.local
Generate migration files:
npx drizzle-kit generate
Run migrations:
npx drizzle-kit migrate
Insert dummy data:
script/insertSplat.sql
You can alternatively add items directly to public/splatData.json
:
{
"items": [
{
"src": "s3://your-bucket/path",
"splatSrc": "s3://your-bucket/splat-path"
}
]
}
Deploy on Vercel (recommended):
For more deployment options, see the Next.js deployment documentation.