Skip to content

This is the simplest way to create a HTTP Server with Java from scratch

Notifications You must be signed in to change notification settings

harshit-soora/Java-HTTP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-HTTP-Server

This is the simplest way to create a HTTP Server with Java from scratch

Step to set up the project in IntelliJ IDEA

Clone the repo

git clone https://github.com/harshit-soora/Java-HTTP-Server.git

Set up configuration in IntelliJ

Select Edit Configuration
Choose add new configuration with + sign in top left corner

**Application**
Select application, name it as you desire, preferably HttpServer
Choose Main Class for it via Search by Name option

**Test Suite**
Select JUnit, name it as you desire, preferably RequestParserTest
Choose Class for it via Search by Name option

Build and Run

Select any configuration in above two
Strike the Hammer and then fire the green play button 

Open in browser

http://localhost:8000/
Now you are good to go ;)

Issues

There are no compile/ runtime issues at all Every issue is just a security update and more convinent experience for a new learner

About

This is the simplest way to create a HTTP Server with Java from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published