Giter Club home page Giter Club logo

fe-6's Introduction

Webpack2/Express/Heroku Starter

This is a very basic sample app to get you started using Webpack 2, Express and is setup to deploy to Heroku.

Features:

Note: this does not use React, Angular, or any other front-end framework. Pick your own when you're ready.

Setup

Deploy

First, you'll need a heroku account.

  • In Heroku, create a new app.
  • Add a new buildpack, select heroku/nodejs. This should set you up to automatically run npm install which is what you'll need to get up and running.
  • Follow the instructions to link to your repository.
  • git push heroku master - Assuming you've set everything up correctly, this will deploy your app, and run the postinstall script in package.json.

Credits

Thanks to christianalfoni for the excellent Webpack 1 tutorial and example repo. I got started there and then built this one once I realized I wanted to play with Webpack v2.

Notes

The Heroku part of this is really easy to change for your own build process. Dig into the npm scripts, and take a look at the production webpack config.

fe-6's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.