Skip to content
/ micro Public

An experimental HTTP server built from the ground up with Go's TCP library to learn about the HTTP protocol. It serves static files from a directory based on the request URL path.

License

Notifications You must be signed in to change notification settings

xtt28/micro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro

CodeFactor Grade

Description

Micro is a simple implementation of the HTTP protocol's fundamentals, namely the ability to request static files from a server. It serves files of any type from the www/ directory in its working directory.

Usage

  1. Put your files in www/
  2. Set the MICRO_PORT environment variable in .env (defaults to port 80)
  3. go run .

License

This application is licensed under the MIT License. For more details, please reference the file LICENSE.

About

An experimental HTTP server built from the ground up with Go's TCP library to learn about the HTTP protocol. It serves static files from a directory based on the request URL path.

Topics

Resources

License

Stars

Watchers

Forks