FSP-News

Fsp News

A small news page for FSP

FSP News - A Simple News Page for any country

Tested with Chrome Built with Svelte

🔮 Description

This is a simple news app that shows the top news stories from different countries and categories. The user can select a country from a dropdown menu, and the top news stories from that country are displayed. The user can also filter the news stories by category. This was done using the NewsAPI.

This project leverages a range of technologies and skills. It's built with Svelte, a modern JavaScript compiler, which is then compiled into highly efficient code for the browser. The project uses Svelte's reactivity features to update news stories dynamically based on the selected country or category. News data is fetched from NewsAPI, a straightforward API providing global news data.

🚀 How to run

Develop Locally

  1. Install dependancies with npm i
  2. Run site with npm run dev
  3. Navigate to http://localhost:5173/ by default however port may change if there are conflicts.

Build and Deploy

  1. Install dependancies with npm i
  2. Build site with npm run build
  3. Preview this build with npm run preview
  4. Navigate to http://localhost:5173/ by default however port may change if there are conflicts.
  5. Use npm run deply to publish to gh-pages branch of the repository to be published with GitHub pages.

Top categories

Loading Svelte Themes