/example-image-resize

Example integration for ServerlessQ on Vercel to resize uploaded images

Primary LanguageTypeScript

ServerlessQ Image Resize

This is the accompanying repository for the article about using ServerlessQ in real-world scenarios with our Vercel Integration.

Check out the article

Deploy on Vercel

You can deploy this project with one button on Vercel.

Deploy with Vercel

Getting Started

First, set your env variables locally. For this, copy the provided .env.example and rename it to .env.local and provide the following information:

SUPABASE_URL=
SUPABASE_KEY=
SERVERLESSQ_API_TOKEN=

In the example, we are using supabase as an storage provided. The SERVERLESSQ_API_TOKEN will be set automatically if you are using our integration 🚀

Then, run the development server:

npm install
npm run dev
# or
yarn install
yarn dev

Open http://localhost:3000 with your browser to see the result.

You should now be able to upload the image and see the results of the processing on the ServerlessQ Dashboard