Defining the Project Structure
For the purposes of this post, we'll pretend we're building an app called Car Finder, that helps you remember where you parked your car. If you want to follow along, check out the code on GitHub.
client, one level down from the root of my project. This folder usually has sibling folders named
build. Here's how this would look for Car Finder:
The idea is to do our app developent inside of
client, then use a build task to compile the JS and copy it to the
build folder, where it will be minified, uglified, and copied to
public to be served by the backend.