FCQ
FCQ really needs a better website. Like the hackathon last week, a skeleton site has been made and is hosted at: https://murmuring-stream-1490.herokuapp.com/. Ten issues have been created for improving this skeleton site. How many can your team address in 150 minutes?
Github
The Github repository for this site is at
https://github.com/ucdd2-sp15/fcq-express
Data
This site’s data on a mongodb server as three separate collections: courses
, instructors
, and departments
.
The URL to connect to the server is:
mongodb://ucdd:hackathon@ds043971.mongolab.com:43971/fcq
Use the mongo shell to explore the data
$ mongo ds043971.mongolab.com:43971/fcq -u ucdd -p hackathon
For each collection, find a document and examine what fields are available
PRIMARY> db.courses.findOne()
PRIMARY> db.instructors.findOne()
PRIMARY> db.departments.findOne()
Try some queries
PRIMARY> db.courses.find({'Subject':'CSCI'}).limit(3).pretty()
PRIMARY> db.courses.find({'insname1':'GRUNWALD, DIRK C'}).pretty()
PRIMARY> db.instructors.find({'name':'GRUNWALD, DIRK C'}).pretty()
PRIMARY> db.departments.find({department:'CSCI'}).pretty()
PRIMARY> db.departments.find({department:'CSCI'}).pretty()
Objective
Solve all the issues marked for the hackathon milestone.
Q/A
- Is the site going to be used at one point? Quite possibly. We may continue to build this site as the semester progresses.Some campus partners have expressed interests in using this site.
Logistics
- Who works on what? The work must be fairly distributed among the team members. The site’s functionality is broken down into small, individual script files in routes/ and template files in views/ and its subdirectories, to make it easy for concurrent development and to minimize conflicts.
How can I indicate that I’ve fixed an issue? Each time you’ve fixed an issue, make a commit. Suppose you’ve just fixed issue 1 and are ready to commit to your branch, write
fixed issue #1
in the commit message.$ git commit -a -m 'fixed #1'
Should the site go live? Yes. You’ver practiced a couple times so far. It should be quite smooth. The team leader should publish the site to Heroku following this instruction. You only need to do the Set up step and the Deploy the app step. Ask for help if you are stuck.
Time
2.5 hours
Team
Work together with the same team from the previous week.
Procedure
Use the same two-level fork-pull procedure you’ve done a few times so far.
- Fork. The team leader creates a fork (i.e., team’s fork).
- Fork. Each team member creates a fork of this team’s fork.
- Work. The team distributes works fairly to individual members to do.
- Pull. Once done, each team member makes a pull request to the leader.
- Pull. The leader merges all the pull requests and then make a single pull request to the course’s repository (i.e., https://github.com/ucdd2-sp15/fcq-express).
Milestones
- Issue 1 (5 points)
- Issue 2 (5 points)
- Issue 3 (5 points)
- Issue 4 (5 points)
- Issue 5 (5 points)
- Issue 6 (5 points)
- Issue 7 (5 points)
- Issue 8 (5 points)
- Issue 9 (5 points)
- Issue 10 (5 points)
Submission Template
Use the following template in the pull request message:
# Team members
Who?
Who?
Who?
Who?
# Score
?/50
# URL
What Heroku URL to access this site? (e.g., https://frozen-tor-4197.herokuapp.com/)