Node Express Api

Node.js Open Kit Simulator ↗ All recipes
Tip: Ctrl+↵ to run
Node.js code runs server-side, not in the browser. Click Download .js, then on your Pi or server run: npm install <packages> && node filename.js

About this recipe

Libraries / imports

express

Hardware / pins

No physical pins or components referenced

Key API calls

require() app.use() app.post() app.get() app.listen() console.log()

How to run

Download .jsnpm installnode file.js.
Editor javascript edits auto-save
Output ready
Output will appear here after you click Run.