-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e663589
commit edf69dc
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
# abcNews | ||
The project works well locally but it doesn't work on deployment because newsapi.org changed the liberties of the free developer keys and now they reject any request using that key that is not coming from localhost. | ||
|
||
I had added code in js file for both case | ||
1) Deployment: As API doesn't work on deployment i had saved a sample data as text in file and used for showing | ||
2) Development server: The code for development server is commented in js file , uncomment it and use it locally to get latest news through api cal | ||
Here is preview of the Newsapi project | ||
|
||
![image](https://github.com/ShivanshVikramSingh/abcNews/assets/116243866/62d6ddb9-75dc-43dd-9178-37c45c06b9c9) | ||
|
||
|
||
Happy Coding:) |