dexteryy / webcube-exercise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webapp-exercise

A web app codebase based on webcube for coding interview challenges

iOS Safari Android WebView IE
iOS 7+ ✔ Android 4+ ✔ 11+ ✔

Challenges

Structure

  • configs/ - Project-defined configuration files and build scripts
    • env.sample.config - Project-defined template file for env.config
  • app/ - All source code for web app (shared between client-side and server-side), including JS, CSS and assets
  • staticweb/ - For static web deployment or testing
    • job-list/
      • index.html, deploy.js, deploy.scss
    • ...
  • build/
    • public/ - Generated by Gulp and Webpack, do not manually modify
  • ...
  • index.js - For single entry point, imported by other projects
  • package.json - dependencies and npm scripts based on webcube
  • yarn.lock - yarn's lockfile
  • env.config - Project-defined configuration options for webcube and custom scripts. See Getting Started

Getting Started

Step 1

First of all, you must create an env.config file in the root directory. configs/env.sample.config is a complete template file for env.config

cp ./configs/env.sample.config env.config

Step 2

Install dependencies:

npm run update

Step 3

Follow webcube's document to install / build / test / deploy / ...

Other Convention

Code Style

Similiar to Airbnb JavaScript Style Guide, Airbnb React/JSX Style Guide

More detail:

Committing Changes with Commitizen

NOTE: Need npm install commitizen -g

git add .
git cz

About


Languages

Language:JavaScript 75.2%Language:HTML 24.8%Language:CSS 0.0%