Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedro-donoso/curso-node
Curso de node.js de free code camp, fundamentos de Node.js y Express, proyecto práctico y ejemplos, conceptos básicos de desarrollo web back-end, JavaScript asíncrono, npm, módulos de Node.js, JSON, HTTP
https://github.com/pedro-donoso/curso-node
await-async eventemitter json promise trycatch url
Last synced: about 2 months ago
JSON representation
Curso de node.js de free code camp, fundamentos de Node.js y Express, proyecto práctico y ejemplos, conceptos básicos de desarrollo web back-end, JavaScript asíncrono, npm, módulos de Node.js, JSON, HTTP
- Host: GitHub
- URL: https://github.com/pedro-donoso/curso-node
- Owner: pedro-donoso
- Created: 2023-01-02T16:21:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T18:48:23.000Z (10 months ago)
- Last Synced: 2024-05-08T09:26:51.707Z (9 months ago)
- Topics: await-async, eventemitter, json, promise, trycatch, url
- Language: JavaScript
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Steps
1. Download zip file, extract and open folder with code editor
#### In Terminal:
node filename.js, for example:2. EventEmitter
`node eventemitter.js`
![eventemitter](https://user-images.githubusercontent.com/68760595/210560971-7ccd1193-257d-4f61-bb72-c2660f93ae11.JPG)
3. JSON
`node json-demo.js`
![json-demo](https://user-images.githubusercontent.com/68760595/210561681-75123b4d-cbd9-4f49-a206-4b55f5fb5d0a.JPG)
4. Promise
`node promise.js`
![promise](https://user-images.githubusercontent.com/68760595/210562128-d73e67b9-faa8-43c4-ad04-0a210f76887a.JPG)
5. Response
`node res.js`
![res](https://user-images.githubusercontent.com/68760595/210562968-3f0f2381-f158-437c-a0ce-fa4115a52dbb.JPG)
5.1 Response in localhost (with server run in terminal)
* for view message in browser -> http://localhost:4000
![localhost](https://user-images.githubusercontent.com/68760595/210563863-557cb7ed-887b-4045-b9f0-6ca66fa7e7df.JPG)
* for stop process, in terminal -> `CTRL + C`
6. TryCatch
`node trycatch.js`
![trycatch](https://user-images.githubusercontent.com/68760595/210566591-a341934c-43a5-411c-86dd-1f7eb90af4ce.JPG)
7. Url
`node url.js`
![url](https://user-images.githubusercontent.com/68760595/210567006-fd63d22b-5aed-4ad2-a554-9dbeaf827916.JPG)