Skip to content

Sunny-64/News-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News App

It shows News of different Countries, Top-Headlines and news from Everywhere.

This website is made using

  • Reactjs
  • Tailwind CSS
  • Express
  • External API from newsapi.org

How to setup this project

  • Clone the repository.

Install the client side dependencies.

  • Open a terminal in the root directory of the project.
cd client/
npm install
npm run dev
  • In Case of CORS error, Add the following line in the package.json file -:
  "proxy": "http://localhost:3000",

Install the server side dependencies

  • Open a new Terminal in the root directory of the project
cd server/
npm install
  • Get the API Key from newsapi.org.
  • Create a file named .env inside server folder
  • Add the following in the .env file -:
API_KEY = <Your API Key>
  • Now run the command to run the project-:
npm start

Thank you (●'◡'●)

About

News App made with third party API using MERN stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published