-
Notifications
You must be signed in to change notification settings - Fork 1
Change Log
Humair edited this page Jul 18, 2016
·
1 revision
- Fixed up the folder structure for a bit more organization instead of having everything in the root directory. The structure is reminiscent of the one generated by express-generator. Although it's not fully identical.
- Made the code a bit more modular.
- Server file is now in the bin, to run the server, navigate to the bin and type
$node server - I've added a templating engine (handlebars), to dynamically create the html pages before we serve them. This saves us the hassle of constantly having to do an ajax call every time we want to generate a new page.
- The search bar now passes the search query to the exam page.
- New dependencies installed are listed in package.json
- Server files have been split in to: /bin/server.js (server setup), app.js (most of the server code, non routing related), /routes/* (all routing code).
- All html pages have been converted into handle bar templates (views), partials folder contains generic code, layouts folder contains our base html code, and the rest are the same as before minus the redundancy.
Humair