/irisschaffer.com-old

Front end for my blog. Built with react, redux, webpack and prismic.io

Primary LanguageJavaScript

irisschaffer.com

Front-end of irisschaffer.com. Prismic.io serves as a CMS.

The project uses React with server side rendering. Redux is used for data handling, redux-saga for asynchronous side-effects. Everything is bundled with webpack :) All content from the CMS is loaded into the local API, where it is cached and accessible through GraphQL syntax.

Requirements

Install

$ npm install
$ cp .env.example .env

Development

$ npm run develop # will start the development server on port 3000
$ PORT=4000 npm run develop # will start the development server on port 4000

Production

$ npm run build
$ npm start

Deploy

We use zeit's now for deployment.

$ npm run deploy
$ now alias [latest-deploy] irisschaffer.com