Skip to content

ilkeraltin/react-ssr-news

Repository files navigation

SSR News - React

React Server Side Rendering demo project. This project uses News API under the hood.

Demo: Click to see DEMO

SSR News

Getting Started

This project created for a Meetup talk about Server Side Rendering with React.

There is also a SPA version of same project.

Installing

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

Deployment build

$ npm run build:prod

You can deploy this project to:

Built With

Releases

No releases published

Packages

No packages published