- Boilerplate for Javascript projects
- Can work fine with Angular, React or just vanilla Javascript.
- I create this repo for a starting point for any Javascript projects. This is more like than the front-end boilerplate.
- Download/ Clone this repo
- File includes: babel, editorconfig, eslint, travisCI, webpack config, NodeJS server, EJS, testing with chai and mocha, circleCI, docker, AWS, CI and CD
- Options to choose: JSLint, JSHint, ESLint
- ESLint
- eslint-plugin-react/angular/nodejs
- Reference : https://medium.com/@btegelund/creating-an-eslint-plugin-87f1cb42767f#.ydl31enza
- Javascripts standard styles: XO, airbnb, JS standard style
- eslint-watch
- Mocha, Jasmine, Tape, QUnit, AVA
- JSDOM, PhanTomJS, Karma, Testem, Cheerio
- Browser: Karma, Testem
- Headless browser: PhantomJS
- DOM: JsDOM
- Naming convention : .spec, .test
- axios
- fetch
- Put js in a .js file
- Organise code in feature rather than mvc modules
- Extract logic into POJOs
- Minification
- Sourcemaps
- Minified HTML and scripts tags
- Cache busting
- Bundle splitting
- Error logging
- Dynamic HTML via EmbeddedJS
- UI seperate API
- Cloud hosting
- UI static hosting (Surge)
- Development env
- Boilerplate
- Starter-kit
- Starter project
- Seed
- Yeoman
- Github
- npm