Next.js frontend for extracting secret messages from images.
-
Install dependencies:
npm install
-
Configure environment:
cp .env.example .env # Edit .env with your backend API URL
npm run devFrontend runs on port 3000.
Required in .env:
NEXT_PUBLIC_API_URL- Backend API URL (e.g.,https://your-backend.onrender.com)
- Push to GitHub
- Import in Vercel dashboard
- Set
NEXT_PUBLIC_API_URLenvironment variable - Deploy