Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 659 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 659 Bytes

Simple Servers in Bun and Node.js

This project contains two implementations of a basic HTTP server, one using Bun and the other using Node.js.

Project Structure

  • bun-server.js - Contains the code to start a server using Bun.
  • node-server.js - Contains the code to start a server using Node.js.

Usage

Requirements

  • Bun installed for running the bun-server.js file.
  • Node.js installed for running the node-server.js file.

Starting the Servers

Bun Server

To run the Bun server, use the following command:

bun bun-server.js

To run the Node server, use the following command:
```bash
node node-server.js