Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Express + WebPack + Babel + Docker starter kit

License

Notifications You must be signed in to change notification settings

SkyPressATX/express-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Starter Kit

Express + WebPack + Babel + Docker starter kit

Local Development

Prerequisites

Useful Aliases

Add these aliases to your ~/.bash_profile for faster development

alias npx="docker run -it --rm -v \$(pwd):/app skypress/npx npx"
alias yarn="docker run -it --rm -v \$(pwd):/app skypress/npx yarn"

Remember to source the file after adding the aliases: source ~/.bash_profile

Makefile

  • make: Default command will run the linter and tests
  • make lint: Run the linter
  • make test: Run all tests
  • make build: Manually run the webpack build
  • make debug: Start a node debug session
  • make start: Start the local development environment
  • make setup: Create a docker network and install all node_modules

Initial Setup

  • Setup the project
make setup
  • Create a .env file using this template:
APP_NAME=express-start
NODE_ENV=development
HOST=kit-server
PORT=3000

Documentation

Documentation is generated using the jsdoc module. Use this cheatsheet as a quick reference.

About

Express + WebPack + Babel + Docker starter kit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published