Skip to content

cbumgard/node-boot-d3

Repository files navigation

Visit http://node-boot.herokuapp.com/ for a live demo.

Demo based on http://github.com/cbumgard/node-boot-demo fork.

Visit the node-boot dev blog http://node-boot.blogspot.com/ to see how to build your app based on node-boot.

What is node-boot-d3?

node-boot-d3 is a starting point for developing a web application based on a proven node.js stack with d3 integration for awesome visualizations:

Why You Should Use It

node-boot-d3 is a starting point providing a sensible, configurable, and customizable set of choices. You get a turnkey web app that provides common patterns such as environment-specific configuration files, clustering for multiple cores, SSL certificate setup, database connections, logging transports, and caching and compression of content.

The experience of building a production-ready, deployable web application involves making many choices: which technologies, what configuration settings, best practices, etc. While there is no one right set of choices, these are ones I have used in my own production web application and have found to be not only pragmatic and scalable, but a pleasure to work with. My hope is this might help you get off the ground fast so you can focus on building that awesome idea you've got in your head.

How To Start

Fork node-boot-d3 at https://github.com/cbumgard/node-boot-d3

Make sure you have the latest stable versions of node.js, npm, and grunt installed. Then just:

  1. git clone https://github.com/cbumgard/node-boot-d3
  2. cd node-boot-d3/
  3. npm install
  4. grunt dev
  5. node app.js

You should now be able to connect to http://localhost:8000/ and see a page just like this one.

For an even more awesome workflow that detects file changes and restarts node automatically AND executes Grunt tasks to download packages and update client assets (depending on changed files) run the following commands in separate terminals:

  1. grunt watch
  2. nodemon app.js

NOTE: Make sure nodemon is installed first (e.g. npm install -g nodemon):

And now build your awesome web app! Please feel free to submit pull requests and contact me at cbumgard@gmail.com

About

A node-boot project that includes D3 integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published