I am not very clear on how to use node.js nosql with total.js (both are node.js modules).
- How do I set up the backend database?
- How do I programmatically create data from a custom/unessential js script, like a table that would serve for user accounts?
- Where do I load nosql with total.js (where, maybe
debug.js
, am I adding code/what is the code)? - How can I display on a page view, for example, a username from that database (how do I access the data?)
No matter what your solution, please follow these instructions, or be sure to discuss any change:
mkdir project_folder; cd project_folder
npm init
npm install --save nosql
npm install --save total.js
- unzip and install empty_project.zip from total.js's download area on github, but do not overwrite files (npm has fresher files than are packaged and ready to go from github)