Welcome to the NC News app, here you can view and interact with a variety of articles, topics and comments.
App available at - nc-news-ah123.netlify.app
Utilized CRUD operations to the REST API.
- READ:-All articles can be sorted by newest-oldest, popularity of votes and comments.
- READ:- Articles can be filtered by topic.
- READ:- You can view comments on an article
- UPDATE:- When on an article page you can up and down vote an article
- CREATE:- You can post a comment on the article
- CREATE:- You can post your own article
- DELETE:- You can delete your own comments if you change your mind
API Repo - https://github.com/AvrilHunter/NC-News
Hosted API - https://nc-news-z2fk.onrender.com/api/
Used a variety of tools to improve accessibility
- Semantic HTML
- Alt text on images
- Contrast checker
- Viewed with a screen reader
- Passed Wave, Lighthouse, axe DevTools audits and inspected with browser accessability tools.
- Planning wireframes and component trees
- Using React Context and State
- Custom React Hooks created (error and loading hooks, data fetching hooks)
- Axios requests
- Error handling
- Loading screens and animations
- Optimistic rendering (example in the voting buttons for an article)
- UX and UI
- Data validation for forms, including feedback for the user
Please follow these simple steps to run the project locally.
Repo can be found here:- https://github.com/AvrilHunter/nc-news-project
- Clone the repo
git clone https://github.com/AvrilHunter/nc-news-project
- Install NPM packages
npm install
- Run the app with Vite
npm run dev
Node v21.7.1