The goal of this repo is be an example of a basic but functional app built on Express and Webpack.
If you want to follow along with the course, you will start from the master and switch to the appropriate numbered branches of this repo as needed. The branches are:
- 0-initial-setup
- 1-install-webpack
- 2-add-webpack-entry
- 3-webpack-output-and-loaders
- 4-webpack-plugins
- 5-webpack-mode
- 6-webpack-for-convenience
Each one is a step along the path to creating a fully functional webpack setup. In each branch, there will be a documentation file that lists out the steps taken in that branch (each step is also a git commit if you look at the history) which you can use as a checklist when setting up your own projects.
Fork this repo, then clone your forked repo down to your computer:
git clone -- [email protected]:[your-user-name]/webpack-express.git --
cd
into your new folder and run:
npm install
npm start
to start the app- this app runs on localhost:8080, but you can of course edit that in index.js