justincadburywong / react-latest-news

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Latest News

An example of how to use React as your front-end framework.

demo screenshot

Installation

You will need Node to run the fake backend. Download the json-server npm module:

npm install -g json-server

Then, to run the backend:

json-server --watch api/db.json

Though ideally you would run the frontend server separately, you will have access to index.html via json-server at the following: http://localhost:3000/

Your fake API will be served at the endpoint http://localhost:3000/posts

About

License:MIT License


Languages

Language:JavaScript 82.0%Language:HTML 18.0%