SnapNews is a MERN stack news aggregation web application designed to deliver concise news summaries with a clean and responsive user interface.
Users can browse the latest news articles and click on articles to read the full story from the original source.
- 📰 News card layout
- 📱 Fully responsive UI for desktop and mobile
- 🌐 Redirect to original news source
- ⚡ Fast and lightweight frontend built with React
- 🗄️ MongoDB integration for storing news data
- React.js
- Material UI
- CSS
- Node.js
- Express.js
- MongoDB Atlas
- Mongoose
git clone https://github.com/gaurirathi/SnapNews.git
cd SnapNewscd client
npm installcd server
npm installCreate a .env file inside the server folder:
DB_USERNAME=your_mongodb_username
DB_PASSWORD=your_mongodb_passwordMake sure:
- MongoDB cluster is active
- Your IP is whitelisted in MongoDB Atlas
cd server
npm startServer runs on:
http://localhost:8000Open another terminal:
cd client
npm startFrontend runs on:
http://localhost:3000
Gauri Rathi GitHub: https://github.com/gaurirathi
⭐ If you like this project, consider giving it a star!