Original repository is at https://github.com/mikaelvesavuori/node-simple-webserver
This package sets up a Fastify server responding to two paths:
/
(root), serving a rudimentary HTML page/hello
serving a JSON object with the keyhello
and the valueworld
I made the original version as a basic "go-to" application for the course "Cloud Developer Basics" that I am running.
You may need to customize a few environment parameters in Elastic Beanstalk:
- Set PORT to 8081
- Set startup Node command to
node server.js
- Remove proxy (default is probably
Nginx
, set toNone
)