Git Product home page Git Product logo

nodejs-examples's Introduction

NodeJS Examples

Setup/Install

install.sh

Run this rudimentary install if you want to try out the examples. It installs the dependencies, then symlinks node_modules in each directory.

Node.js Introduction Code

Simple demonstration of node features.

demo1: Hello world and interval examples showing setTimeout and setInterval

demo2: Socket chat server

demo3: Supervisor, fs, and express

demo4: Express, Twitter streaming API, and Socket IO

Domain Search

Allows you to see if a domain is available.

Usage: Load http://localhost:8000/domain in your browser (ie http://localhost:8000/google.com)

Ghetto Proxy

Allows you to proxy sites through your site. Doesn't rewrite any incoming html, so may not work for all sites.

Usage: Load http://localhost:8000/www_address in your browser (ie http://localhost:8000/cnn.com)

Hello World

Simple demonstration of the basic Hello World app

Redis Pub/Sub chat

RSS Cron to Redis

Simple Hit Counter

Basic Hit Counter using Redis

Twitter OAuth

Twitter Socket IO

Uses Twitter-Node to crawl Twitter feeds and Socket.IO to stream tweets using Web Sockets.

Twitter Tweet Map

Uses Twitter-Node to crawl Twitter feeds and store strings in Redis using a sorted set. Hitting http://localhost:8000, you get to see the top 20 strings. Proof of concept - could be used for trends, etc.

nodejs-examples's People

Contributors

risoritofa avatar ryankanno avatar wangbus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.