Skip to content

aksprat/sample-functions-nodejs-calculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Function: Node.js Calculator

Introduction

This repository contains a simple calculator showing how to use state, Node.js packages, HTML, and functions. You can deploy it on DigitalOcean's App Platform as a Serverless Function component. Documentation is available at https://docs.digitalocean.com/products/functions.

Requirements

  • You need a DigitalOcean account. If you don't already have one, you can sign up at https://cloud.digitalocean.com/registrations/new.
  • To deploy from the command line, you will need the DigitalOcean doctl CLI.
  • This project uses a Redis instance to maintain state. You will need to provision a DBaaS instance and provide the DATABASE_URL credentials to deploy and use the function.

Learn More

You can learn more about Functions and App Platform integration in the official App Platform Documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 56.6%
  • JavaScript 38.2%
  • Shell 5.2%