GlobeStream is a Svelte-based application that provides users with the latest news headlines and a search functionality to explore articles on various topics.
Clone the repository:
git clone https://github.com/Abhishek2010DevSingh/GlobeStream.git
cd GlobeStream
Install dependencies:
npm install
Set up the NewsAPI key:
Obtain an API key from NewsAPI.
Create a .env
file in the root directory of the project.
Add your API key to the .env
file:
API_KEY=your_newsapi_key_here
Ensure that the .env
file is included in your .gitignore
to prevent exposing your API key in version control.
To start the development server:
npm run dev
This will start the server, and you can access the application in your browser at http://localhost:5173
.
To create an optimized production build:
npm run build
The build artifacts will be stored in the dist/
directory.
Contributions are welcome! Please open an issue or submit a pull request for any improvements or suggestions.
This project is licensed under the MIT License.