FloSight Drones
Marketing site and lead management dashboard for a drone services business in Central Florida.
- Next.js
- TypeScript
- Spring Boot
- PostgreSQL


flosight.tsx
From visitor to lead
The consultation form is validated in the browser with React Hook Form and Zod, then again by the API. A valid request emails the business and is saved as a new lead.
The dashboard
Leads are listed newest first and can be filtered by status. Each one can be opened for its full details, moved from new through contacted, in progress, completed, and archived, or deleted.
Access control
The API is stateless. Submitting a lead is public, everything under /api/admin needs a valid JWT, and passwords are hashed with BCrypt. Cross-origin requests are only allowed from the front end.
.authorizeHttpRequests(auth -> auth
.requestMatchers(HttpMethod.OPTIONS,"/**").permitAll()
.requestMatchers("/api/auth/**").permitAll()
.requestMatchers("/api/leads/**").permitAll()
.requestMatchers("/api/admin/**").authenticated()
.anyRequest().authenticated())Hosting
The front end runs on Vercel. The API's Fly.io configuration lets it stop when idle and start on the next request, so the form tells visitors that sending may take a moment.
architecture
- Consultation form
- Zod validation
- Spring Boot API
- Email notification
- PostgreSQL
- Admin dashboard
highlights
- Private dashboard for reviewing leads and tracking their status
- Spring Boot API with JWT authentication and PostgreSQL
- Next.js front end with validated forms