Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thawkin3/nodejs-event-loop-demo
A demo app for better understanding the Node.js event loop
https://github.com/thawkin3/nodejs-event-loop-demo
heroku javascript nodejs
Last synced: 19 days ago
JSON representation
A demo app for better understanding the Node.js event loop
- Host: GitHub
- URL: https://github.com/thawkin3/nodejs-event-loop-demo
- Owner: thawkin3
- Created: 2021-04-17T19:41:26.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-23T20:53:13.000Z (almost 4 years ago)
- Last Synced: 2024-11-27T15:51:04.605Z (3 months ago)
- Topics: heroku, javascript, nodejs
- Language: HTML
- Homepage: https://nodejs-event-loop-demo.herokuapp.com/
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-event-loop-demo
A demo app for better understanding the Node.js event loop.
## Running Locally
Make sure you have [Node.js](http://nodejs.org/) and the [Heroku CLI](https://cli.heroku.com/) installed.
```sh
$ git clone https://github.com/thawkin3/nodejs-event-loop-demo # or clone your own fork
$ cd nodejs-event-loop-demo
$ npm install
$ npm start
```Your app should now be running on [localhost:5000](http://localhost:5000/).
## Deploying to Heroku
```sh
$ heroku create # or `heroku create `
$ git push heroku master
$ heroku open
```
or[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
## Resources
- [The Node.js Event Loop, Timers, and process.nextTick()](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/)
- [Blocking vs. Non-Blocking Code in Node.js](https://nodejs.org/en/docs/guides/blocking-vs-non-blocking/)
- [Don't Block the Event Loop](https://nodejs.org/en/docs/guides/dont-block-the-event-loop/)
- [Getting Started on Heroku with Node.js](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
- [Heroku Node.js Support](https://devcenter.heroku.com/articles/nodejs-support)
- [Node.js on Heroku](https://devcenter.heroku.com/categories/nodejs)
- [Best Practices for Node.js Development](https://devcenter.heroku.com/articles/node-best-practices)
- [Using WebSockets on Heroku with Node.js](https://devcenter.heroku.com/articles/node-websockets)