This project is a news application that allows users to search and view the latest news articles from various sources, using the GNews API.
- The application is built using NodeJS, a popular server-side JavaScript platform for building scalable network applications.
- The Express framework is used to handle HTTP requests and routes. EJS is used as a template engine for rendering dynamic views.
- The GNews API is used to retrieve news articles and related data.Axios is used to make API requests.
- The application can be customized and extended to include additional features or functionality.
- The application can be used as a learning resource for those interested in building news applications or similar projects.
To run this project on your local machine, follow these steps:
- Clone the repository using
git clone https://github.com/vishnusatheeshpulickal/News-App.git
- Navigate to the project directory using
cd News-App
- Install dependencies using
npm install
- Create a
.env
file in the root directory and add your GNewsAPI key as APIKEY=<your-api-key>
- Start the development server using
npm start
- Users can search for news articles using keywords.
- The search results are displayed in a grid layout.
- News articles can be filtered by category.
- Users can view the latest news articles on the home page.
To use the application, follow these steps:
- Open the application in your browser.
- Search for a news article using keywords.
- The search results will be displayed in a grid layout.
- Click on a news article to view the full article.
- NodeJS
- Express
- EJS
- GNews API
- Axios
If you have any questions or comments about this project, feel free to reach out to me via email at vishnu satheesh.