https://github.com/hiejulia/js-dev-env
Everything you need for starting Javascript project. Javascript boilerplate scaffolding starter. The starting point for full-stack JS projects.
https://github.com/hiejulia/js-dev-env
boilerplate certificates ci circleci devops docker docker-compose fullstack-javascript mocha travis-ci
Last synced: 11 months ago
JSON representation
Everything you need for starting Javascript project. Javascript boilerplate scaffolding starter. The starting point for full-stack JS projects.
- Host: GitHub
- URL: https://github.com/hiejulia/js-dev-env
- Owner: hiejulia
- Created: 2017-02-16T07:13:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T18:30:36.000Z (over 8 years ago)
- Last Synced: 2025-02-08T21:46:20.173Z (about 1 year ago)
- Topics: boilerplate, certificates, ci, circleci, devops, docker, docker-compose, fullstack-javascript, mocha, travis-ci
- Language: JavaScript
- Homepage: https://github.com/HienNguyen711/JS-dev-env
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JS-dev-env
# What it does?
+ 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.
# How to install
+ 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
# Linting
+ 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
# Testing
+ Mocha, Jasmine, Tape, QUnit, AVA
+ JSDOM, PhanTomJS, Karma, Testem, Cheerio
+ Browser: Karma, Testem
+ Headless browser: PhantomJS
+ DOM: JsDOM
+ Naming convention : .spec, .test
# HTTP calls
+ axios
+ fetch
# Project/app structure
+ Put js in a .js file
+ Organise code in feature rather than mvc modules
+ Extract logic into POJOs
# Production Build
+ Minification
+ Sourcemaps
+ Minified HTML and scripts tags
+ Cache busting
+ Bundle splitting
+ Error logging
+ Dynamic HTML via EmbeddedJS
# Production deploy notes
+ UI seperate API
+ Cloud hosting
+ UI static hosting (Surge)
# More resources for boilerplate
+ Development env
+ Boilerplate
+ Starter-kit
+ Starter project
+ Seed
# Others to start project
+ Yeoman
+ Github
+ npm