🚀 Live site: https://nc-news-ms.netlify.app
This is the frontend for the NC News app — a Reddit-style news aggregator.
Built with React and styled using Tailwind CSS + DaisyUI, it connects to a custom Express.js backend API to deliver articles, comments, and user interaction features.
- 🗂 Browse articles by topic
- 🔼 Upvote and 🔽 downvote articles
- 💬 View and post comments
- 📱 Fully responsive UI
- 🚦 Client-side routing with React Router
- ⚛️ React
- ⚡ Vite
- 🧭 React Router DOM
- 🎨 Tailwind CSS + DaisyUI
- 🖥 Express.js backend (external API)
Ensure you have Node.js and npm installed.
git clone https://github.com/mslmn/nc-news.git
cd nc-news
npm install
npm run dev
npm run build
This app communicates with a RESTful Express.js backend:
Base URL: https://nc-news-app-api.onrender.com/api
Example endpoints:
GET /articles
GET /articles/:article_id
GET /topics
POST /articles/:article_id/comments