/react-blog

A basic blogging app based on ReactJS

React-blog

This is an exercise project to learn the basics of React. React-bootstrap is also used as CSS framework.

Features

  • Display all blogs
  • Create a new blog
  • Delete a blog
  • Provides 404 error page

Available Scripts

In the project directory, you can run:

npm install

This is to install all the required dependencies for the project to run.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npx json-server --watch data/db.json --port [PORT NUMBER]

Runs the JSON server as a REST API on a specific port number.