Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/airstack-xyz/airstack-nextjs-cronjob-boilerplate
- Owner: Airstack-xyz
- License: mit
- Created: 2024-02-12T07:58:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-13T18:23:37.000Z (9 months ago)
- Last Synced: 2024-04-18T12:56:42.784Z (7 months ago)
- Language: CSS
- Size: 96.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.