Api usage and Design demonstration using Hacker News Api and React.
View Demo
·
Report Bug
·
Request Feature
Mobile Version
Desktop Version
This project is demonstration of how to use API in React project and how to Design simple website using React. I have used Haker News free api fot this demonstration, You can use any other API in same way.
Here's why I use Hacker News API and React :
- I used Hacker News API because it's free to use and it updates in real time.
- I used React Library to develop and Design web application because it is easy to learn and easy to use.
- React has great developer tools.
- A virtual DOM is used.
- How to use API in React.
- How to Design React web application.
- How Structure React web application source code.
To host web application on user localhost follow below steps :
- yarn
npm install --global yarn
- Get a free API Key at https://github.com/HackerNews/API
- Clone the repo
git clone https://github.com/dhairya0907/Hacker-News-API.git
- Install YARN packages
yarn install
- Run on localhost
yarn start
See the open issues for a list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE
for more information.
Dhairya Sharma - @dhairya_0907 - dhairya.sharma532@gmail.com.com
Project Github Link: https://github.com/dhairya0907/Hacker-News-API
Project Web Application Link: https://hackernewsapi-demo.vercel.app/