Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/amirhossein-github/experience-course-codenight-nodejs-basic_http_server
- Owner: amirhossein-github
- Created: 2024-10-28T10:06:16.000Z (22 days ago)
- Default Branch: main
- Last Pushed: 2024-10-28T10:41:34.000Z (22 days ago)
- Last Synced: 2024-10-28T13:47:17.057Z (22 days ago)
- Topics: javascript, node-http, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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