vscode-react-sample

React todo demo for Build conference

  • 所有者: microsoft/vscode-react-sample
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

React / Node Todo Demo

This demo shows the core functionality of Visual Studio Code
for Build 2016 session workshop.

todo demo

Getting Started

# clone repo
git clone https://github.com/Microsoft/vscode-react-sample.git react-todo

# navigate to repo
cd react-todo

# install deps
npm install

Backend

# Run in terminal
npm run serve

Instead you can also debug in Visual Studio Code with pressing the f5 key.

Frontend

# run in terminal
npm run dev

Run from Visual Studio Code by executing command (with f1 to open command palette)
Run Task and selecting dev.

Database

No configuration should be necessary necessary. Data backend is simply a json file called todos.json in data/.
If you run into any issues make sure todos.json has the following inside before starting the
server. This will become more robust overtime.

{
    "todos": []
}

Not meant for production

There are a couple of issues to fix before this code base should
be used as a model for a production ready application.

  • Swap out the file based data model for a real data backend.
  • Replace webpack dev server with an application server or serve up the app with the Node server.

Technologies

主要指标

概览
名称与所有者microsoft/vscode-react-sample
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证
所有者活动
创建于2016-03-24 00:33:09
推送于2018-07-08 09:33:04
最后一次提交2017-03-30 13:28:18
发布数0
用户参与
星数211
关注者数10
派生数128
提交数43
已启用问题?
问题数6
打开的问题数4
拉请求数4
打开的拉请求数2
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?