项目作者: king-prawns

项目描述 :
Knockout 3.4 Basic project - Start from scratch
高级语言: JavaScript
项目地址: git://github.com/king-prawns/Knockout3.4-Basic-SFS.git
创建时间: 2017-01-27T16:54:13Z
项目社区:https://github.com/king-prawns/Knockout3.4-Basic-SFS

开源协议:MIT License

下载


Knockout3.4-Basic-SFS

Knockout 3.4 Basic project - Start from scratch

Installation

  • Install Node.js

Go to Node website

A command-line http server

  1. $ npm install -g http-server

Full fake REST API

  1. $ npm install -g json-server

Usage

  • Clone or Download the project

  • Open first command prompt

    1. $ cd my-project\fake_db
    2. $ json-server --watch db.json
  • Open second command prompt
    1. $ cd my-project
    2. $ http-server
  • Go to localhost

Features

Conclusion

This is just a simple example, I hope this will help you to understand better Knockout.