vscode-react-sample

React todo demo for Build conference

  • Owner: microsoft/vscode-react-sample
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Overview

Name With Ownermicrosoft/vscode-react-sample
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:
Release Count0
Created At2016-03-24 00:33:09
Pushed At2018-07-08 09:33:04
Last Commit At2017-03-30 13:28:18
Stargazers Count210
Watchers Count10
Fork Count125
Commits Count43
Has Issues Enabled
Issues Count6
Issue Open Count4
Pull Requests Count4
Pull Requests Open Count2
Pull Requests Close Count0
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top