Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amirhossein-github/experience-course-codenight-nodejs-basic_http_server

Building a listening server on port 3000 with NodeJS and TypeScript.
https://github.com/amirhossein-github/experience-course-codenight-nodejs-basic_http_server

javascript node-http nodejs typescript

Last synced: 21 days ago
JSON representation

Building a listening server on port 3000 with NodeJS and TypeScript.

Awesome Lists containing this project

README

        

# experience-course-codenight-nodejs-basic_http_server
Building a listening server on port 3000 with NodeJS and TypeScript

## Installation and Run
```sh
# Download the repository
git clone https://github.com/amirhossein-github/experience-course-codenight-nodejs-basic_http_server

# Go to the repo directory
cd experience-course-codenight-nodejs-basic_http_server/

# Install dependency
npm install

# Compile with typescript
tsc

# To run with npm
npm run server
```

> [!NOTE]
> To run, just copy and paste the entire code and press the enter key


> [!WARNING]
> You must have [tsc](https://www.typescriptlang.org/download/), [NodeJS](https://nodejs.org/en/learn/getting-started/how-to-install-nodejs), and [NPM](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) to run these commands