Member-only story
SERVERLESS PROGRAMMING
Kubernetes serverless function using Node JS
How to create server-less functions with the POST route in nodejs using the fission framework?
2 min readAug 21, 2020
For more information about the fission framework and basic commands to start with. Follow below link
This article demonstrates:
- Add nodejs environment in fission.
- Add two numbers using the POST route in nodejs.
- Test fission routes browser & command line.
Add node environment
Fission language support will be enabled by creating the environment. Below command is used to create a nodejs environment if already not create
- fission environment create — name env-name — image fission/node-env
To verify the environment is created, run following command & look for env-name created. See the below image for reference.
- fission env list