This is a playground repository for some js, nodejs, and other stuff.
git clone https://github.com/raoul2000/js-playground.git
To install and run an example, navigate to the appropriate folder and refer to the README.md instructions.
- Todo List : Angularjs, Bootstrap
- Electron Hello : Electron App with build instruction
- XML and XPath : Manipulate XML document with nodejs
- HTTP Client : let's make some HTTP requests to some fake REST API
- Promises : solve asynchronous problems and callback hell with Promises
- FTP : simple FTP client
Below is a list of modules that are used for these examples :
Some node modules are installed globally and used for several examples or as general command line tools.
- ungit : a nice UI for git
- Mocha : test framework for Nodejs
- Chai : an assertion library that plays well with Mocha. Note that Nodejs also includes an assertion library
- json-server : provides a fake REST API server to testing and demo
- http-server : a simple zero-configuration command-line HTTP server. After installation (global) navigate to a folder and enter http-server . -o to start the server on the current dir and open the browser.
- Node Inspector : debug your nodejs app in the Chrome browser.
- LiveReloadX : auto-reload browser on change. Use
livereloadx -s [-p 35729] [path/to/dir]
to work with static pages
- faker.js : generate fake data for your tests