Ready to deploy starter-app configured for webpack, typescript, and sass
Once you've forked the repository and installed dependencies, run webpack --watch
Client typescript and SASS will be compiled, as well as custom fonts, sass-loaded image assets, and index.html, all from src
Currently the server is located in \dist
and all compiled client files are built to \public
cd to repository after cloning. Make sure you have the heroku CLI and toolbelt installed.
Run:
heroku create
git push -u heroku master
The app will build and deploy to a heroku dyno.
I purposefully haven't included Angular 2, React, or another javascript framework in this project. It grew out of an InfernoJS project, which is fairly light-weight, and I wanted to keep it that way. This project is intended to help set up a new project up for success with a full-featured code-to-deploy build process than it is about showcasing a particular JS framework.
This application is built with:
NodeJS
Express
TypeScript
SASS
Bourbon/Neat
The server is currently being compiled with a tsc command, while the client is compiled by webpack. Need to investigate if this can be simplified. I'll be making improvements as I go, feel free to post suggestions in Issues.