A modern website for LensX, featuring AI-powered glasses that enhance vision and provide assistance.
# Install dependencies
npm install
# Set up the database
npm run db:setup
# Run the development server
npm run dev
- Create a Vercel account and install the Vercel CLI
- Create a Vercel Postgres database
-
Connect your GitHub repository to Vercel
-
Add the following environment variables in the Vercel dashboard:
POSTGRES_PRISMA_URL
- Connection string with connection poolingPOSTGRES_URL_NON_POOLING
- Direct connection stringADMIN_USERNAME
- Username for admin accessADMIN_PASSWORD
- Password for admin access
-
Deploy the project:
vercel
The project uses Prisma's db push
for production deployments, which is safer for serverless environments. The database schema will be automatically pushed to the Postgres database during the build process.
- Modern, responsive design
- Waitlist registration
- Contact form
- Admin dashboard for managing waitlist entries and contact submissions
- API routes for handling form submissions
- Database integration with Prisma
- Next.js
- React
- TypeScript
- Tailwind CSS
- Framer Motion
- Prisma
- PostgreSQL (production) / SQLite (development)
- Vercel