Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/airstack-xyz/airstack-nextjs-cronjob-boilerplate


https://github.com/airstack-xyz/airstack-nextjs-cronjob-boilerplate

Last synced: about 20 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Airstaack NextJS Cronjob Boilerplate

## Getting Started

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

```bash
# .env.local
AIRSTACK_API_KEY=xxx
```

Then, run the development server:

```bash
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](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.