Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.45 KB

readme.md

File metadata and controls

52 lines (32 loc) · 1.45 KB

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.