A Next.js application for merchant onboarding to the Flash payment platform.
# Install dependencies
npm install
# Copy environment template and configure
cp .env.example .env.local
# Run development server
npm run devOpen http://localhost:3000 to view the application.
Required variables in .env.local:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_google_maps_key
- Framework: Next.js 14 (static export)
- Language: TypeScript
- Styling: Tailwind CSS
- Forms: React Hook Form + Zod
- Database: Supabase
- Maps: Google Maps API
npm test # Unit tests
npm run test:e2e # E2E tests (requires dev server)Additional documentation is available in the docs/ folder:
- DEPLOYMENT.md - Deployment instructions
- DEVELOPMENT.md - Development guide
- ENVIRONMENT_VARIABLES.md - All environment variables
- GOOGLE_MAPS_SETUP.md - Google Maps configuration
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes
- Run tests:
npm test - Commit:
git commit -am 'Add my feature' - Push:
git push origin feature/my-feature - Open a Pull Request
MIT