Skip to content

ocaml code traspiled by bucklescript to javascript runnable in aws lambda with serverless framework

License

Notifications You must be signed in to change notification settings

VaclavSynacek/ocaml-bucklescript-serverless-aws-lambda-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ocaml-bucklescript-serverless-aws-lambda-example

ocaml code traspiled by bucklescript to javascript runnable in aws lambda with serverless framework

install

git clone https://github.com/VaclavSynacek/ocaml-bucklescript-serverless-aws-lambda-example.git
npm install
npm run watch   #for local development
npm run build   #for one time build
npm run deploy  #for aws deployment once built

use

Go to http://localhost:3000/ for test output or to http://localhost:3000/factorial/15 for factorial computation by lambda function. If deployed to AWS replace endpoints with the actual endpoins returned by serverless deploy tool.

status

Works on local. Works on AWS Lambda. Ugly code.

About

ocaml code traspiled by bucklescript to javascript runnable in aws lambda with serverless framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages