Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 1.37 KB

README.md

File metadata and controls

75 lines (50 loc) · 1.37 KB

Web Server Hello World


This repository contain web server hello world programs written in many languages without any third party dependency.

How to contribute

  • Find a language that doesn't have web server hello world source in this repository.
  • Open an issue and say "Add <Language> web server hello world"
  • Fork the repository in to your github profile
  • Add your source files and update README.md
  • Submit a pull request by mentioning the issue you added previously.

Happy coding 🚀

Languages

golang

Compile and run it

Source file : webserverhelloworld.go

Windows

go build webserverhelloworld.go
webserverhelloworld.exe

Linux

$ go build webserverhelloworld.go
$ ./webserverhelloworld

Check output from your browser

localhost:8080

Node.js

Source file : webserverhelloworld.js

Windows/Linux

  • Navigate to nodejs folder using terminal/cmd and run below command.
node webserverhelloworld.js

Check output from your browser

localhost:3000

Stop webserver

  • press CTRL+C in your terminal/CMD