Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 715 Bytes

File metadata and controls

20 lines (14 loc) · 715 Bytes

Node Register

A demo to use node & csv databse to build a register system.

How To Run

  1. install node.
  2. npm install -g webpack to install webpack
  3. npm install in project root folder.
  4. webpack to compile script, and watch file change.
  5. node ./public/server.js to start http server.
  6. Done! Try http://localhost:8089 in your browser:)

How To Develop

  1. add more router to functions in src/main.js.
  2. database.js use to access csv database. you can put your queries in this file.
  3. make sure webpack -w always runned in command line. it will watch any file changes from src folder, and compile your code from es5 to es6.
  4. run node ./public/server.js to see what happend.