Skip to content

KrtinShet/serverless-function-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README for Serverless Function Platform

This project is a serverless function platform that allows users to dynamically run JavaScript serverless functions. Below is a guide on how to get started, set up, and use the platform.

Prerequisites

  • Node.js (version 12 or higher)
  • npm (typically comes with Node.js)

Installation

  1. Clone the Repository:

    git clone https://github.com/KrtinShet/serverless-function-nodejs.git
    cd serverless-function-nodejs
  2. Install Dependencies: Navigate to the project directory and run:

    npm install

Running the Server

  1. Start the Server: From the project directory, run:
npm run start

This will start the server on the specified port (default is 500).

  1. Accessing the Platform: Access the platform via http://localhost:5000 (or the configured port) in your web browser.

Usage

  • Deploying Functions: Use the platform's UI to write and deploy serverless functions. Specify the route and HTTP method for each function.

  • Executing Functions: Functions are executed by making HTTP requests (GET, POST, PUT, DELETE) to the specified route.

  • Editing Functions: Functions can be edited and redeployed through the platform's UI.

About

POC of how serverless function platform work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published