Skip to content

Explore the world with this MERN stack news application. Stay informed with personalized news feeds, real-time updates, and comprehensive coverage on the latest events.

Notifications You must be signed in to change notification settings

AdityaPatadiya/News-Application-with-ReactJS-and-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here's the screen shot of my website:

Home Page:

Screenshot 2024-04-10 201447

Contact Us Page:

Screenshot 2024-04-10 201609

About Us Page:

Screenshot 2024-04-10 201627

Login page:

Screenshot 2024-04-10 201638

SignUp Page:

Screenshot 2024-04-10 202017

Some of the news categories I've include for my project:

Screenshot 2024-04-10 202917 Screenshot 2024-04-10 201551

What Technologies I use to my website:

  1. ReactJS
  2. Node.js
  3. Mongodb (database)
  4. HTML/CSS
  5. APIs(I use to fetch the news from newsapi.org)

What changes you should make to run the project successfully:

  1. You'll have to make an account on mongodb.com.
  2. Create a cluster.
  3. Create a database.
  4. click on connect to get the link to connect your code to the database.
  5. you'll get the link that you have to add to the server.js file in src/Pages at connectDB(Mongodb_database_connection_string)
  6. change the <password> section and add your actual "password" that you set for your database.

How to run the website

  1. go to the src folder using cd src
  2. go to the Pages folder using cd Pages
  3. start the server from the server.js file. type node server.js to run the main file and it will show the output like below. Screenshot 2024-04-24 101200
  4. Then open new terminal and type npm start to run the reactJS files.
  5. you'll get the output as you see above images.

About

Explore the world with this MERN stack news application. Stay informed with personalized news feeds, real-time updates, and comprehensive coverage on the latest events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published