A starter kit for resume generator boilerplate && framework, based on:
- ES6 everywhere (with some bits of ES7, e.g. async await)
- React.js (for the frontend)
- Node.js, Koa.js (for the server-side)
- Material Design Lite (for css style)
- Webpack2 (for bundle)
- Flow (for static type check)
- Jest (for test)
Feature:
- Html rendering, building static files
- Babel compile (flow, es2015, react)for both client and server code
- Node.js server-side built on top of Koa.js for async code
- ReactDomServer (using react-dom) for server-side rendering
- server-side logging (for develop mode)
- Frontend app build with React
- Hot Module Replacement (using webpack) for easier development
- PostCSS postprocessor
- Build with webpack, including development (develop mode) and production target (build mode)
- Configuration by fetch api
- United test build, running unit and functional tests, powered by
Jest
The resume generator contains a sample app with a theme, configuration, development mode, building mode
Requirements:
- Node.js V7.XXX
$git clone https://github.com/guoliim/curritaeFirst
$cd curritaeCompile mode
$npm run compileDevelop mode in root directory with Hot Reload React Component by webpack, devMiddleware, hotMiddleware
$npm run developBuilding mode (production target) in root directory, output static files in public/
$npm run buildIn lib/api/config.json config you resume items
- Caution Do not remove the item in config
- Koa2 packed by webpack2 have problem which can not work in node.js
- using babel for bundling react component and public assets into one bundle.js just like webpack
- react
this.props.itemin tag<script>{props.item}</script>has character escaping problem
- CSS VARS/REFACTORING, styled-components/reactjs
- UI Refactoring/higher-order component
- organizing component states by Redux
- improve routes in frontend
- STILL DO PWA
- Add Getting Started
- dynamic config api
- theme wrapper
- add eslint
This project is under the MIT license. See the LICENSE file for the full license text