Coder Social home page Coder Social logo

wochap.github.io's Introduction

wochap

Build Status Coverage Status

Personal website powered by React and Webpack

Quick start

IMPORTANT Rename .env.example to .env. Then:

# install dependencies
$ yarn

# serve with hot reload
$ yarn dev

# serve with hot reload and inspect webpack dev server
# https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js
$ yarn dev:inspect

# build for production with minification
# build static html files
$ yarn build

# run tests
$ yarn test

# run tests and watch
$ yarn test:watch

# run test coverage report
$ yarn test:coverage

NOTE: For disable source map or bundle analyzer report (both on production only) and browser sync (on development), just remove it from .env file.

Documentation

Stack

  • React
  • React router
  • Redux
  • wocss

Structure

Development

Icon font

This project uses Icomoon, to add new icons you have to import the src/icomoon/selection.json in the icomoon app, then download the new font from it and drop to src/icomoon folder, maybe you must restart webpack.

Redux store

Collection

Requeriments:

  • Custom loaders:

    • lazy-dir-loader: generate a single chunk with all markdown files.
    • lazy-loader: generate a single chunk per markdown file.
    • front-matter loader: transform markdown files to a custom format.
    • markdown-loader: transform markdown files to a custom format.
  • redux-promise-middleware

There is collections store, it handles markdown files from src/data folder.

To add a new collection dispatch the actions from src/app/actions/collections.js module, these actions use the webpack api to generate chunks, and make webpackJsonp requests.

To learn

Content

Writing blog posts

Write the dates in 'DD-MM-YYYY' format.

wochap.github.io's People

Contributors

wochap avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.