This project demonstrates how to create an HTTP server using ES modules in Node.js.
my-es-module-project
├── src
│ ├── server.mjs
├── package.json
└── README.md
To run the server, follow these steps:
- Clone the repository or download the project files.
- Navigate to the project directory:
cd my-es-module-project
- Install the necessary dependencies (if any):
npm install
- Start the server:
node src/server.mjs
Once the server is running, you can make GET requests to it. The server will respond with a simple message.
This project is licensed under the MIT License.