This repository implements the TompHTTP bare server. See the specification here.
We provide a command-line interface for creating a server.
For more features, specify the --help
option when running the CLI.
- Clone the repository locally
git clone https://github.com/tomphttp/bare-server-node.git
- Enter the folder
cd bare-server-node
- Install dependencies
npm install
- Start the server
node ./app.js server --port 80 --host localhost