Airstaack NextJS Cronjob Boilerplate

Getting Started

First, create a new file .env.local and add the Airstack API key to your environment variable:

# .env.local
AIRSTACK_API_KEY=xxx

Then, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

To modify the Cronjob function, simply go to src/app/api/cron/route.ts.

Deploy on Vercel

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.