For this assignment, students will be required to build a simple Node example project. Students are to guild a Grunt script that includes libsass. Include JavaScript(jQuery) and hopefully prepare for deployment to Heroku.
This project assignment will cover a few days. The goal of this assignment is to build a Node/Express application from scratch, add libsass and build an example module using all the techniques learned to date for building elemental UIs.
An extension of this assignment is to build your own Bower package that is registered with Bower.io, you can distribute via Github and is 'imported' to your project.
- Using Express to build a new Node project
- Make appropriate use of
- .gitignore
- package.json
- bower.json
- readme.md files that explain install and set up instructions
- Install libsass using Grunt to process the Sass
- Using a modular Sass framework to build an example UI module
- Include some jQuery for effect
- Deploy to Heroku
Submitting assignments for this course will require leveraging some of the more advanced features of Github. These features will not only improve your knowledge of Git and Github, but also provide practice exercises for working on a distributed project with a large team.
In order to submit assignments, please use the following steps
- Fork this repo so that you have a working version
- Clone the forked repo to your local computer
- Create a folder named with your name, example
dale-sande
- Once completed with your assignment, commit code to the master branch and push to Github
git push origin master
- From your fork of the project, initiate a pull request to the parent repo
When a pull request is initiated, I will be notified of the update and comment on the submitted assignment via Github tools.
Your local repo will be an independent version of the original repo from the moment you fork the repo. In order to keep your local repo up to date with the original repo, you need to do what is called an upstream pull.
To manage an upstream pull, I suggest updating your .bash_profile
and your .gitconfig
file with easy to remember aliases.
In your .bash_profile
add the following alias
alias upstream="git remote add upstream \$@"
From the command line you simply need to refer to the alias and add the path to the upstream repo as shown in the following example.
$ upstream https://github.com/blackfalcon/unicorn-class-css-section.git
Once the upstream repo is configured for your local repo, this never needs to be reset again, unless you delete your local repo.
In your .gitconfig
add the following alias
[alias]
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
From the command line, within the project repo, enter the following command to pull latest code from the upstream master.
git pu