
Build and monetize a news website with JavaScript and News API leveraging 80,000 sources, in a practical project-based course that covers technical web development and business strategies.
Explore building a news website with JavaScript, React, and News API across ten chapters, covering audience, tools, setup, a JavaScript crash course, building, testing, monetization, and key takeaways.
This course teaches web developers to build a news website from scratch with JavaScript, React, and the News API, and how to monetize and test it.
Select JavaScript as the project language, set up an ide like Visual Studio Code or Sublime Text, and use the news api via api.org to fetch data for the website.
Build a ready-to-use news site with automatic updates from News API, a user-friendly interface, a customizable dashboard, and guidance to generate API keys.
Discover News API, a REST API returning JSON from 80,000+ media sources to fetch current and historic news for your site, with a free plan and 24-hour delays.
Explore the basics of APIs and how API requests fetch news data, with the waiter analogy and the API key bridging database and user interface.
Register for a free News API developer plan, create your account, log in, and retrieve your API key from email or dashboard, then store it securely.
Log in to your News API account, grab your API key, and explore the JavaScript docs to search articles by keyword and fetch top headlines with axios.
Learn the fundamentals of JavaScript to prepare for upcoming projects by mastering variable declaration, data types, conditional statements, and functions with parameters.
Learn how to declare variables in JavaScript using const, let, and a third form, print with console.log, and understand scope and basic Node.js execution.
Explore JavaScript data types: strings, numbers, and booleans, by declaring variables, concatenating strings with plus, measuring string length, and checking types.
Practice if/else logic in JavaScript by comparing GPA to minimum and scholarship thresholds, logging results like accepted, accepted with scholarship, or not accepted.
Learn how to declare JavaScript functions, pass parameters, and return results, then apply them to calculate areas like the area of a rectangle using length and width.
Initialize a React project with npx create-react-app, name it news website, verify setup by running npm start, and later configure axios and clean unused templates in VS Code.
Add a module folder and create several files: useCatalog.js, newsCatalog.js, NewsElement.js, and NewsElement.css, then install axios to enable styling and data fetching for the news catalog.
Build a news catalogue in a React app by fetching articles from News API with axios and rendering them with a news element component.
Create a news element component by importing use element css and React, and render title, descriptions, url, and url to image with proper classes.
Create the news element HTML by mapping article data (title, description, url, image) from the API's articles object. Style with use element CSS.
style a news website by applying css with a flex layout, center alignment, and configurable news element sizing; test usability and refine app.js in a react javascript project.
Modify app.js to connect news catalogs with the React app, import and export useCatalog from the module folder, and prepare for testing in the next video.
During the testing phase, verify full integration with News API and that the site can request news data, while ensuring a user-friendly interface and adjustable topic queries.
Discover four common monetization strategies for news websites, including Google AdSense, banner ads via Taboola, Outbrain, and Astra, subscriptions, and affiliate links, with practical setup insights.
Build a news recommendation system using TensorFlow, loading a Kaggle news classifications dataset, computing article embeddings with the universal sentence encoder, and delivering five similar headlines via Gradio.
Test the news recommendation system by fixing errors, compiling successfully, and generating recommendations from chosen headlines, illustrating how selected stories produce similar news.
Learn to build a reliable news website with JavaScript, React, and a news api by validating data sources, testing scenarios, optimizing user experience, and preparing for monetization through seo.
Welcome to Building & Monetizing News Website with Javascript, React, and News API. This is basically an extensive project based course where you will be fully guided step by step on how to build a news website using Javascript programming language alongside with other supporting tools. This course is consisted of two main aspects, the first one is the technical aspect which will train you from the perspective of web developer on how to build a fully functioning news website meanwhile the second aspect is the business aspect where you will learn from the perspective of business, you will learn multiple strategies to monetize your news website.The news website that will be built is going to have news from more than 80,000 sources updated regularly and it is going to be made possible by connecting the site with News API and there is nothing you should worry about since you can access News API for completely free with a limitation up to 100 API requests a day which is obviously more than enough for this project. This course puts heavy emphasis on user experience and comfortability, therefore, as soon as we are done building the website, we will be conducting testing not only to ensure the product has worked the way it is supposed to but also evaluating whether it’s easy to use and user friendly from the perspective of users. At the end of the course, you will learn several monetization strategies, such as displaying ads on your website or selling subscriptions to your customers for accessing premium features. Hence, hopefully by the end of the course you will understand the potential of turning this news website to a full time and sustainable passive income business.
Since the news website will be built using Javascript, therefore, some basic understandings would be necessary, nonetheless, there is nothing you should worry if you are not really confident with your Javascript programming skills as this course also comes with Javascript crash course which was created and designed specifically to prepare you better for the project. Hence, you will definitely get all basic fundamentals of the Javascript programming language that you need to know before starting the actual project.
Below are the following things that you will learn in this course:
Javascript Mini Course:
Learning different ways to declare variables in Javascript (const, let, var)
Learning different data types in Javascript (string, number, boolean)
Learning how to create conditional statements in Javascript (if/else)
Learning how to build function and pass down parameters in Javascript
Building the News Website:
Learning how to integrate website with News API
Learning how to connect to News API endpoints
Learning how to style the frontend using css
Learning how to create and initialize React package
Learning how to utilize Axios to communicate with the backend
Learning several different strategies to monetize news website
3. Building news recommendation system using Tensorflow
Since the most effective way to learn is actually to learn by doing, hence, that is exactly what you are going to get from this course. Not only that you will get to apply your Javascript skills and knowledge into a real project with real use cases but you also get the opportunity to evaluate your qualification in Javascript to identify the area that you still need to improve.