I always wondered how to start a single page application project from ground up.
One of the most difficult part to start a project is to get initial setup running.
This is SPA project using
- Durandal (Architecture)
- Knockout (Model-View-View-Modal)
- Require (Module loader)
- Bootstrap (CSS)
- Lodash (Utility library)
- TYPESCRIPT (Statically typed JavaScript)
Install all npm packages using package.json
npm install
First compile all typescript files using the make file
make
Secondly start a small http-server so run the project
http-server -p <port_number>