π Home pages
In this project I got the data from newsapi and listed it on the main page. When the user searches for invalid data, a message not found will appear. If the user searches with empty data, he will be asked to enter a news data. 9 news will be listed on the main page and will be navigated with pagination.
π Detail pages
When you click on the news, you can reach the detail page. The details include the source of the news, adding data to the favorite page, and share buttons.
π Favorite Pages
Favorite products are listed on the favorite page and there is a button to remove the favorite products to be removed.
.
βββ App.css
βββ App.js
βββ App.test.js
βββ assets
β βββ Homenews.jpg
β βββ img1.jpg
β βββ img2.jpg
β βββ img3.jpg
βββ components
β βββ Navbar.jsx
β βββ Pagination.jsx
βββ context
β βββ AuthContext.jsx
βββ helper
β βββ ToastNotify.js
βββ index.css
βββ index.js
βββ pages
β βββ DetailPage.jsx
β βββ Favorites.jsx
β βββ Home.jsx
β βββ Login.jsx
β βββ SourceSection.jsx
βββ reportWebVitals.js
βββ router
βββ AppRouter.jsx
- React
- Toastify
- Bootstrap
- Reactbootstrap
- Axios
- React Router Dom (6.3v)
- React Share
To clone and run this application, you'll need Git
# Clone this repository ($ git clone https://github.com/)
> run command npm install
> Open the runserver