Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aryantyagi1/web-server-node-bun

This project contains two implementations of a basic HTTP server, one using Bun and the other using Node.js.
https://github.com/aryantyagi1/web-server-node-bun

bun bun-server http-server node-service web-server

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

```bash
bun bun-server.js

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