Client Plugins - GoryMoon/DIT076-Flow GitHub Wiki
Plugins used
jquery
Used for all DOM manipulation and getting/sending data from/to the server with the api.
mustache
Used to parse and create html templates that are added to the page with jquery.
page
Enable the client to have a router similar to express, it updates the url field depending on what page it is and handles clicks going the the different pages.
It also handles showing the correct page when loading the page form a hard reload.
store
Used for easy storage of user info on the client to use when showing the nick and authenticating with the server
moment
Used to parse time from the api and print pretty time on posts and comments.
bootstrap
Contains scripts to enable modals, tooltips and dropdown menus.
Also most of the css styling used comes from this.
bootstrap-notify
Used to notify the user when something was successful or something went wrong