Skip to content

A server program which can flexibly run an Echo Server or HTTP Server application. Created in Java using test-driven development with a heavy focus on OOP Design including SOLID principles and the Chain of Responsibility design pattern. Previously deployed to AWS AppRunner via Docker, Amazon ECR, and GitHub actions.

Notifications You must be signed in to change notification settings

karen-olson/Serververse

Repository files navigation

Serververse

Serververse is a server application built in Java using the Chain of Responsibility design pattern. It can be run as an Echo Server, which echoes any text that is sent to it, or an HTTP server, which processes HTTP requests. It was created using JDK 17 and Gradle 7.4.

Table of Contents

Getting Started

Installation

Clone this repo:

git clone https://github.com/karen-olson/serververse

Usage

Building the Program

cd into the program directory and enter gradle build

Launching the program

To run the program internally in IntelliJ, enter gradle run in the terminal.

Linting

This project uses IntelliJ's built-in formatting capabilities, and does not use a 3rd party linter.

Testing

To run tests, enter gradle test in the terminal.

Ending the program

To stop the server, enter CTRL+C in the terminal.

Making a Request

To make requests using netcat, enter nc <url> in the terminal. To disconnect from the server when using netcat, enter CTRL+C or CTRL+D in the terminal.

About

A server program which can flexibly run an Echo Server or HTTP Server application. Created in Java using test-driven development with a heavy focus on OOP Design including SOLID principles and the Chain of Responsibility design pattern. Previously deployed to AWS AppRunner via Docker, Amazon ECR, and GitHub actions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published