All Projects → quirrel-dev → quirrel-next

quirrel-dev / quirrel-next

Licence: MIT License
Moved to main Quirrel repo.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to quirrel-next

wrapped
GitHub Wrapped, inspired by Spotify Wrapped
Stars: ✭ 159 (+736.84%)
Mutual labels:  nextjs
nextly-template
Nextly Landing Page Template built with Next.js & TailwindCSS
Stars: ✭ 48 (+152.63%)
Mutual labels:  nextjs
next-with-ts
Next.js for boiler plate to easy development.
Stars: ✭ 22 (+15.79%)
Mutual labels:  nextjs
inaba-jinja
因幡神社へようこそ!
Stars: ✭ 14 (-26.32%)
Mutual labels:  nextjs
next-rest
Typesafe REST APIs for Next.js
Stars: ✭ 17 (-10.53%)
Mutual labels:  nextjs
nativesintech.org
The repository for the Natives in Tech website
Stars: ✭ 37 (+94.74%)
Mutual labels:  nextjs
shici
使用 next.js 与 graphql 做一个诗词小站
Stars: ✭ 79 (+315.79%)
Mutual labels:  nextjs
pulse
A Platzi Flavored Markdown desktop editor
Stars: ✭ 22 (+15.79%)
Mutual labels:  nextjs
swr-examples
SWR is a React Hook library for remote data fetching. Here are some simple examples.
Stars: ✭ 14 (-26.32%)
Mutual labels:  nextjs
epic-react-exercises
Practical React exercises with detailed solutions.
Stars: ✭ 126 (+563.16%)
Mutual labels:  nextjs
blog
Tech Blog (moved to zenn.dev/hellorusk)
Stars: ✭ 29 (+52.63%)
Mutual labels:  nextjs
moveit
Move.it is a project that combines the pomodoro (🍅 ) technique with some challenges (⚔️ ) for the well-being (🥰 ) of those who spend many hours (⏳ ) using the computer 🖥
Stars: ✭ 12 (-36.84%)
Mutual labels:  nextjs
javelin
❤️ app to arrange notes in columns
Stars: ✭ 18 (-5.26%)
Mutual labels:  nextjs
kami
🍰 Kami is mx-space's web frontend theme. Cute and lovely.
Stars: ✭ 92 (+384.21%)
Mutual labels:  nextjs
mirror-next
A Next.js-powered frontend for your Mirror publication
Stars: ✭ 98 (+415.79%)
Mutual labels:  nextjs
WEB26-COKIRI
🔮 개발, 이제 관심을 받다: 개발자의 SNS
Stars: ✭ 21 (+10.53%)
Mutual labels:  nextjs
saving-goal
React.js, Next.js and TypeScript studies. In this project I tried to apply knowledges from some courses I've taken. Testing with react testing library, styling with styled components, etc.
Stars: ✭ 15 (-21.05%)
Mutual labels:  nextjs
notion-nextjs-blog
A starter blog template powered by Next.js, Notion and Tailwind CSS.
Stars: ✭ 25 (+31.58%)
Mutual labels:  nextjs
react-wordpress
Example of a React+Next.js+WordPress application.
Stars: ✭ 36 (+89.47%)
Mutual labels:  nextjs
scriptified.dev
A weekly newsletter with insightful tips, tools, resources & more on React and JavaScript. Made with NextJS && TailwindCSS. Curated by @gupta-ji6 && @prateek3255.
Stars: ✭ 18 (-5.26%)
Mutual labels:  nextjs

@quirrel/next

Quirrel is the Task Queueing Solution for Next.js X Vercel.

Getting Started

Check out Getting Started Guide or the Quirrel Tutorial to get the full picture.

  1. npm install @quirrel/next
  2. Create a new API Route and export a Quirrel Queue:
// pages/api/emailQueue.js
import { Queue } from "@quirrel/next"

export default Queue("emailQueue", async (job) => {
  await dispatchEmail(job.recipient, job.subject, ...);
})
  1. Import & use from another file to enqueue jobs:
// pages/api/signup.js
...
import emailQueue from "./emailQueue"

export default async (req, res) => {
  // create user ...
  await emailQueue.enqueue({
    recipient: user.email,
    subject: "Welcome to Quirrel!",
    ...
  })
}

How does it work?

When calling .enqueue, a request to api.quirrel.dev is made. It contains an endpoint to call (in the example above, that'd be /api/emailQueue) and a timestamp of when it should be called. The Quirrel API will then call the corresponding endpoint on time.

In Development

Quirrel is currently in development. I will post updates on Twitter.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].