Today's News Site is a web application that provides users with the latest news articles. It is built using the MERN (MongoDB, Express.js, React.js, Node.js) stack.
- View the latest news articles.
- Search for specific topics or keywords.
- Read full articles with detailed information.
- Bookmark articles for later reading.
- MongoDB: NoSQL database for storing news articles and user data.
- Express.js: Web application framework for Node.js used for handling server-side logic.
- React.js: JavaScript library for building user interfaces.
- Node.js: JavaScript runtime for server-side development.
- Axios: Promise-based HTTP client for making requests to the server.
- Material-UI: React components for building a modern and responsive UI.
- Mongoose: MongoDB object modeling for Node.js.
- Redux: State management library for React applications.
- Node.js and npm installed.
- MongoDB installed and running.
- Clone the repository:
git clone https://github.com/yourusername/todays-news-site.git
- Navigate to the project directory:
cd todays-news-site
- Install server dependencies:
cd server && npm install
- Install client dependencies:
cd ../client && npm install
-
Create a
.env
file in theserver
directory with the following content: -
Replace
your_mongodb_connection_string
with your actual MongoDB connection string.
- Start the server:
cd server && npm start
- Start the client:
cd ../client && npm start
- Open your browser and visit
http://localhost:3000
to view the application.
The API reference for the server-side endpoints can be found in the API.md file.
If you would like to contribute to the project, please follow the contribution guidelines.
This project is licensed under the MIT License.
Feel free to contribute, report issues, or provide feedback!