Skip to content

rockhowse/dnode-test-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple test checking dnode compatiblity using a browser based client as shown here:

https://github.com/substack/dnode/blob/master/README.markdown

I am doing each example independently so I can just pull it down and run it seperately.

git clone https://github.com/rockhowse/dnode-test-browser.git

Then run the following commands to install the proper node.js dependencies (dnode and friends) for this project:

C:\Users\Sexbox\Desktop\nodejs>cd dnode-test-browser

C:\Users\Sexbox\Desktop\nodejs\dnode-test-browser>npm i

...

[email protected] ./node_modules/dnode

+-- [email protected]

+-- [email protected]

+-- [email protected]

+-- [email protected] ([email protected])

+-- [email protected] ([email protected] [email protected])

+-- [email protected]

At this point, you can start up the server:

C:\Users\Sexbox\Desktop\nodejs\dnode-test-browser>node server.js

Open up the browser of choice (Chrome!) and navigate to the url:

http://localhost:8080

And you should see the result in the browser:

n = 6600

tada! simple remote method run on the server using dnode with a browser based client =)

-rOcK

About

simple dnode test using a browser client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published