/lab16

Primary LanguageJavaScript

LAB - Class 16

Project: AWS Cloud Server

Author: Donna Ada

Problem Domain

AWS Server Deployment from GUI And CLI

Links and Resources

Setup

.env requirements

Create .env file with PORT number of your choice

  • PORT=<PORT_NUMBER>

How to initialize/run your application

  • npm init -y
  • npm install express dotenv cors
  • create .env file with PORT number of your choice

Routes

  • GET : / - Proof of Life Route
  • GET : /greeting - greeting route that take in optional query ?name=your_name

Tests

  • Proof of Life Test using app.get().

UML

n/a