Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Node webserver using Fastify, customized for AWS Elastic Beanstalk

Notifications You must be signed in to change notification settings

mikaelvesavuori/node-simple-webserver-aws-elastic-beanstalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Simple Node.js webserver running Fastify (customized for Elastic Beanstalk)

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 key hello and the value world

I made the original version as a basic "go-to" application for the course "Cloud Developer Basics" that I am running.

Adaptations that you may need to do in Elastic Beanstalk

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 to None)

About

Node webserver using Fastify, customized for AWS Elastic Beanstalk

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published