Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shivansh090 committed Dec 20, 2023
1 parent e663589 commit edf69dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
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:)

0 comments on commit edf69dc

Please sign in to comment.