Knockout 3.4 Basic project - Start from scratch
- Install Node.js
Go to Node website
- Install http-server
A command-line http server
$ npm install -g http-server
- Install json-server
Full fake REST API
$ npm install -g json-server
-
Clone or Download the project
-
Open first command prompt
$ cd my-project\fake_db
$ json-server --watch db.json
- Open second command prompt
$ cd my-project
$ http-server
- Go to localhost
- components and handlers
- $.ajax
- include 3rd-party JS library
- Normalize.css
- Bootstrap 3
- NProgress
- Sammy.js
- i18next-ko
- NO unit/integration test has been developed
This is just a simple example, I hope this will help you to understand better Knockout.