React Server Side Rendering demo project. This project uses News API under the hood.
Demo: Click to see DEMO
This project created for a Meetup talk about Server Side Rendering with React.
There is also a SPA version of same project.
First clone project and install dependencies
$ mkdir react-news && cd react-news
$ git clone https://github.com/ilkeraltin/react-ssr-news.git
$ cd react-ssr-news
$ npm install
Navigate to News API and grab your API key.
Find config.js in root folder and update API Key.
const config = {
apikey: 'enter-your-api-key'
};
Run on local
$ npm run dev
Navigate to http://localhost:3000
Deployment build
$ npm run build:prod
You can deploy this project to: