In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Provides quick access to key metrics and functionalities of the admin panel. This could include user activity, content statistics, and quick links to manage news feeds, view performance reports,top performed news, top shared news, top commented news, etc.
Top 3 trending news. Comparing the views count.
Add title, Content, ./images/image and Video for new news.
A mobile preview screen, enabling administrators/sub-editors/content writers to see how the news feed will appear on mobile devices before publishing.
A bar graph ploted with detailed analysis with views as respect to the news catagory.
All uploaded news with options to view analytics, edit, and delete the news.
Used Context API to pass the news data among all the components.
Seperate components and pages. Using useContext
inside child component to recive the array and passing updateArray
functions to update the array as needed.
Inside the App.js file cahange the rows data array with a fetch API
call and from backend and change the value parameters.