Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 810 Bytes

File metadata and controls

28 lines (20 loc) · 810 Bytes

experience-course-codenight-nodejs-basic_http_server

Building a listening server on port 3000 with NodeJS and TypeScript

Installation and Run

# 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, NodeJS, and NPM to run these commands