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.
- Node >= 6.0
$ npm install
$ cp .env.example .env
$ npm run develop # will start the development server on port 3000
$ PORT=4000 npm run develop # will start the development server on port 4000
$ npm run build
$ npm start
We use zeit's now for deployment.
$ npm run deploy
$ now alias [latest-deploy] irisschaffer.com