Apex Insights Web is a modern, SEO-focused web application for Apex Insights, designed to generate dynamic landing pages and showcase our services. The site now features updated branding with the new ApexLogo.svg.
This is a Next.js project bootstrapped with create-next-app
.
First, install dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
Then, set up your environment variables (see below) and run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Geist, the Vercel fonts.
This project utilizes Programmatic SEO to generate dynamic landing pages based on combinations of parameters (e.g., location
and service
).
src/app/services/[location]/[service]/page.tsx
src/lib/data.ts
fetches content from Google Sheets published as CSV URLs.src/app/sitemap.ts
automatically generates sitemap entries for all dynamic pages.memory-bank/landingtemplet.md
.To run this project, you need to set up environment variables. Create a .env.local
file in the project root and add the following variables:
# Base URL of the deployed site (used for sitemap)
NEXT_PUBLIC_BASE_URL=http://localhost:3000 # Change for production
# Published CSV URL for Google Sheet containing page parameter combinations (e.g., location, service)
# Ensure columns match the expected names in src/lib/data.ts (e.g., 'location', 'service')
GOOGLE_SHEET_CSV_URL_COMBINATIONS="YOUR_PUBLISHED_GOOGLE_SHEET_CSV_URL_FOR_COMBINATIONS"
# Published CSV URL for Google Sheet containing ALL data for every page variation
# Ensure columns match the fields defined in the PageData interface in src/lib/data.ts
GOOGLE_SHEET_CSV_URL_ALL_DATA="YOUR_PUBLISHED_GOOGLE_SHEET_CSV_URL_FOR_ALL_DATA"
# Add other environment variables as needed (e.g., API keys for analytics, etc.)
Important: For production deployment, configure these environment variables directly in your hosting provider's settings (e.g., Vercel, Netlify).
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.