- Watch mode and hot module reloading for Preact application.
- Watch mode for our node Express server.
- Preact application comes with styled-components and storybook.
- Express server comes with proxy, middleware, logging.
- Workflow: Prettier, eslint, imagemin is run on every commit.
- Isomorphic absolute ES6 import statements on both client app and server.
- Jest has been setup with enzyme and enzyme-adapter-preact-pure.
- Project is setup for heroku deployment.
# Copy env file then copy paste env variables.
cp env/local.env .env
# install dependencies
yarn install
# Spin up dev server.
yarn start
# Run unit tests with Jest and Enzyme.
yarn test
# Analyze bundle size.
yarn analyze
# Build and run production app.
yarn production