Work on challenge flow from block to block, start refactoring the name courseware to challenges in main.js

This commit is contained in:
terakilobyte
2015-05-19 22:31:01 -04:00
parent e659d8c7fa
commit a174a1c630
10 changed files with 561 additions and 276 deletions

View File

@@ -150,7 +150,19 @@ var userSchema = new mongoose.Schema({
finishedWaypoints: { type: Boolean, default: false },
sendMonthlyEmail: { type: Boolean, default: true },
challengesHash: {},
currentChallenge: {}
currentChallenge: {},
completedChallenges: [
{
completedDate: Long,
_id: String,
name: String,
completedWith: String,
solution: String,
githubLink: String,
verified: Boolean
}
],
uncompletedChallenges: Array
});
/**