Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,25 @@
News feed App built using React, Material UI & NewsAPI

# Setup
```
npm install
```

# Run local server
```
npm run dev
```
1. **Clone the repository:**
```sh
git clone https://github.com/almdrasa/react-newsfeed_app.git
cd news-feed-app
```

2. **Install dependencies:**
```sh
npm install
```

3. **Set up environment variables:**
- Create a `.env` file in the root directory.
- Add your News API key:
```
VITE_NEWS_API_KEY=your_api_key_here
```

4. **Run the app:**
```sh
npm run dev
```