Deno's Self-deployed Cloud Function Framework

Deno's Self-deployed Cloud Function Framework

Deno Fass Deno's self-deployed cloud function framework

Deno Fass

Deno's self-deployed cloud function framework

Quick start

git clone https://github.com/raw2cc/deno-faas
 cd deno-faas
cp .env.example .env
deno run -A --unstable .\mod.ts
curl http://localhost:3000/test1

Configuration

Copy .env.exampleto .env, in .envthe configuration server port and function to obtain the address of the file.

For example, remote=https://raw.githubusercontent.com/raw2cc/deno-faas/main/test/means:

I request /test1will look for https://raw.githubusercontent.com/raw2cc/deno-faas/main/test/test1.tsthe file, if found, would pull him off then loaded.

Function writing

Function file can have two functions, one is initone callinitit will only be called once after loading, callwill be called when the request comes.

Automatic reload

Every 10 minutes, the server will automatically reload all cloud functions.

Cloud function example

See the example folder.

other

It is estimated that there are many bugs, welcome to try.

Download Details:

Author: raw2cc

Source Code: https://github.com/raw2cc/deno-faas

deno nodejs node javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

AEM Querybuilder for JavaScript (Browser, Node, Deno)

Helix Querybuilder .AEM Querybuilder for JavaScript (Browser, Node, Deno)

NKeys for JavaScript - Node.js, Browsers, and Deno

A public-key signature system based on Ed25519 for the NATS ecosystem system for JavaScript. The nkeys.js library works in Deno, Node.js, and the browser!

Javascript module for easily generating mazes,compatible with both Deno and Node

A work-in-progress Javascript maze generator module, compatible with both Deno and Node.

Deno Tutorial for Beginners: Deno vs. Node: Better Than NodeJS?

Deno is released, it’s time to find out if it can prove a worthy competition for Node.js. What is Deno? Why Deno can be considered an alternative to Node? The main differences between Deno and Node. Write a simple Deno app.

What is Deno? The Node.JS Killer? The Deno-minator to Node?

What is Deno? The Node.JS Killer? The Deno-minator to Node? Deno is the new hype and will it be better than node.js? Deno is a secure runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language that addresses Node’s shortcomings