FE NC News is a social news aggregation, web content rating, and discussion website. It has articles which are divided into topics. Each article has user curated ratings and can be up or down voted using the API. Users can also add comments about an article.
This project buil in React and used APIs from MBNAJ-BE-NC-News project in nodejs.
This project uses Backend News API under the hood. and you can find it from here: Click to see the API repo
Demo: Click to see DEMO
This project created for a Meetup talk about Server Side Rendering with React.
First clone project and install dependencies
$ mkdir react-news && cd react-news
$ git clone https://github.com/mbnaj/MBNAJ-FE-NC-NEWS.git
$ cd MBNAJ-FE-NC-NEWS
$ npm installNavigate to News API if you need to understand how it works.
| Command | Description |
|---|---|
npm start |
Starts development server with hot reloading. |
npm run build |
Runs development build. Outputs files to /build. |
npm run dist |
Runs production build. Outputs files to /dist. |
Navigate to http://localhost:3000
Deployment build
$ npm run build:prodYou can deploy this project to: