JWhitsitt / debugging-logs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

This is a simple NodeJS + ExpressJS project that is designed to simulate output for what logs may look like. The file make_requests.sh is set up to programatically make API requests.

Local Setup

  • Install dependencies: npm install
  • Run server: node server.js

Usage

By default, the application should be loaded on localhost:8080. It should provide an HTTP 200 response when loaded at localhost:8080/health.

Container Setup

  • Build image: docker build .
  • Run container with image: docker run {image_id} where image_id can be retrieved by running docker images and found under the column IMAGE ID

Container teardown

  • Remove container: docker kill {container_id} where container_id can be retrieved by running docker ps and found under the column CONTAINER ID

About


Languages

Language:JavaScript 70.3%Language:Dockerfile 17.0%Language:Shell 12.6%