Welcome to NC News, a website that allows users to read, vote, and comment on articles. The app has several features, including viewing articles by topic, reading individual articles, voting on articles, posting and deleting comments, sorting articles, and logging in as a dummy user.
You can access the deployed version of NC News here.
You can access the backend repository here.
Access the API here.
To run NC News locally, ensure you have Node.js installed. The minimum version required is v21.1.0:
Clone the repository:
git clone https://github.com/royr5/nc-news-frontend.git
cd nc-news-frontend
Install dependencies:
npm install
Run the development server:
npm run dev
src
: Contains the source code of the React app.components
: React components used in the app.contexts
: Context providers for managing user data.utils
: Utility functions for interacting with the backend API.
index.css
andmain.jsx
: Entry point files for styling and rendering the app.