Template for application in nodejs
Quick template to deploy a Node JS application. You'll find:
- an easy web page, built with Boostrap
- a manager for your logic
- a main file with useful REST api
Constraint: you must have installed Node JS and NPM on the pc
Step:
-
download the template
-
open a terminal and move to the template directory
-
write "npm install", with this you'll have all the useful packages (and you'll see a "node_modules" folder)
-
execute "node db.js" , to create the SqlLite "test" database
-
execute "node main.js"