Skip to content

danisaleem/Learning-React

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning React

A small demo blog site built using React framework. One can view all blogs, view details of specific blog, add new blogs and delete blogs!

How to?

Clone the repository. Open the terminal in the project directory.

  • $ npm install

To view the application in the browser, In the project directory, you can run:

  • $npm run start

To start the json server, Open another terminal in the project directory, and run:

  • $npx json-server --watch data/db.json --port 8000

This will run the app in the development mode.
Now 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.

Documentation

Wanna Learn More? check out the React documentation.

Screenshots

Home Page

Blog Details Page

Create Blog Page