GitHub - scaleway/serverless-examples: Example projects and patterns for use with Scaleway's serverless products (original) (raw)
Badge PHP
A PHP function to generate repository badges.
php82
CORS Go
A Go function which allows CORS requests.
go122
CORS Node
A Node function which allows CORS requests.
node18
CORS Python
A Python function which allows CORS requests.
python310
CORS Rust
A Rust function which allows CORS requests.
rust185
CORS Multipart Rust
A Rust function which allows multipart requests with CORS.
rust185
Go Hello World
A simple "hello world" example for Go
go121
Go SQS Publish
A Go function to publish messages to SQS.
go121
Go MultiPart Upload to S3
A function to upload file from form-data to S3.
go120
Image Transform
A function that resizes images from an S3 bucket.
node22
Image Transform with triggers
A function that resizes images from an S3 bucket and use SQS triggers to smooth traffic.
node20
Node Terraform
A simple example of deploying a Node Serverless function using Terraform.
node22
Node MultiPart Upload to S3
A function to upload file from form-data to S3.
node19
PHP write to S3
A PHP function that connects to, and writes to an S3 bucket.
php82
PostgeSQL Node
A Node function to connect and interact with PostgreSQL database.
node18
Python ChatBot
A chatbot example with ChatterBot.
python310
Python Dependencies
Example showing how to use Python requirements with Serverless Framework.
python310
Python MultiPart Upload to S3
A function to upload file from form-data to S3.
python311
Python SQS Trigger Hello World
Trigger a function by sending a message to a SQS queue.
python311
Python SQS Trigger Async Worker
Use SQS queues and function triggers to scheule an async task from another function.
python311
Python TEM SMTP Server
Send Transactional Emails from a serverless function.
python311
Redis TLS
How to connect a function to a Scaleway Redis cluster with TLS enabled.
python310
Rust MNIST
A Rust function to recognize hand-written digits with a simple neural network.
rust185
PostgreSQL Python
A Python function to perform a query on a PostgreSQL managed database.
python310
Terraform Python
A Python function deployed with Terraform.
python310
Triggers Getting Started
Simple SQS trigger example for all runtimes.
all
Triggers NATS
Simple NATS trigger example using Terraform.
all
Typescript with Node runtime
A Typescript function using Node runtime.
node18
Serverless Gateway Python Example
A Python serverless API using Serverless Gateway.
python310
Go and Transactional Email
A Go function that send emails using Scaleway SDK.
go121
Rotate RDB Credentials
A Go function that rotates RDB credentials stored in Secret Manager.
go120
Connect to Mongo DB
A Go example to connect to Mongo DB
go124