A marketing site and content platform built with Next.js (App Router), TypeScript, and Tailwind CSS. The project includes contact, callback and newsletter forms that send emails through Resend.
- App Router-based Next.js application under the
app/directory - Server and API routes for forms and webhooks (Resend integration)
- Reusable UI components and layout primitives in
components/ - Tailwind CSS for styling and AOS for scroll animations
- Next.js 15 (App Router)
- React 19
- TypeScript
- Tailwind CSS
- Resend for transactional emails
- AOS, lucide-react, sonner, clsx
Prerequisites:
- Node.js 18+ (recommended)
- npm, pnpm, or yarn
Install dependencies:
npm install
# or
pnpm install
# or
yarn installRun the development server:
npm run devOpen http://localhost:3000 to view the site.
Build for production:
npm run buildStart the production server (after build):
npm startType-check the codebase:
npm run typecheckThe app uses a few environment variables for external services. Create a .env.local in the project root and set the values you need.
RESEND_API_KEY— Resend API key used to send emails (required for forms)RESEND_FROM_EMAIL— Optional override for thefromaddress (e.g. "NexGen Developers forms@nexgendevelopers.in")RESEND_TO_EMAILorCONTACT_TO_EMAIL— The business inbox that receives form submissions (fallbacks are provided in code)
Notes:
- Verify your sending domain in Resend and add recommended DNS records (SPF/DKIM/DMARC) to prevent deliverability issues.
- When running locally without
RESEND_API_KEY, form endpoints will return a friendly error indicating the email service isn't configured.
app/— Next.js App Router pages, route handlers and per-route componentsapp/api/— Serverless API routes (contact, callback, subscribe, etc.)app/home,app/blogs,app/services, ... — top-level pages and their components
components/— shared UI components (Navbar, Footer, modals, UI primitives)lib/— helper utilities and SEO structured data helperspublic/— static assets (images, robots, sitemap)
Files to inspect for behavior:
app/api/_utils/resend.ts— Resend integration and email helper functionsapp/page.tsx— root landing page entrycomponents/Navbar/Navbar.tsxandcomponents/Footer/Footer.tsx— site chrome
This project is optimized for Vercel but can be deployed to other platforms that support Next.js. For Vercel, create a project and push your repository; Vercel will detect Next.js automatically.
Recommended Vercel settings:
- Set the
RESEND_API_KEYand any other environment variables in the Vercel project settings. - Use the default Node.js version suggested by Vercel or match your local Node.js runtime.
This repository includes TypeScript and a typecheck script. Add linters and test runners as needed (ESLint, Jest/Playwright) and add scripts to package.json.
If you want to contribute:
- Fork the repo and create a feature branch
- Run the app locally and verify your changes
- Open a pull request with a clear description
- If you get email errors, verify
RESEND_API_KEYand the sending domain configuration in Resend. - For issues building, run
npm run build:cleanto remove.nextand rebuild.
This repository is configured as a private project. Update the README with license and contributor details as appropriate.
Updated: May 31, 2026