GithubHelp home page GithubHelp logo

bryantee / gitchain Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 796 KB

:link: Build your git chain. A full-stack application powered by node.js.

Home Page: https://mysterious-harbor-55179.herokuapp.com/

JavaScript 81.94% HTML 17.05% CSS 1.01%
bcrypt es6 github-api momentjs mongodb mongoose nodejs passportjs vanilla-js

gitchain's People

Contributors

bryantee avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gitchain's Issues

Fix bug in ghRobot when checking if date warrants streak break

Looking up: bryantee
last check: Thu Dec 08 2016 17:56:20 GMT-0700 (MST)
high streak: 1
Currentstreak:1
No commits for today, setting streak to 0 :(
events.js:160
      throw er; // Unhandled 'error' event
      ^

TypeError: moment(...).isAfter.moment is not a function
    at User.find (/home/bryan/code/thinkful/gitchain-node-capstone/ghRobot.js:70:33)
    at Query.<anonymous> (/home/bryan/code/thinkful/gitchain-node-capstone/node_modules/mongoose/lib/model.js:3398:16)
    at /home/bryan/code/thinkful/gitchain-node-capstone/node_modules/kareem/index.js:259:21
    at /home/bryan/code/thinkful/gitchain-node-capstone/node_modules/kareem/index.js:127:16
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
[nodemon] app crashed - waiting for file changes before starting...

Prevent hashed password from returning in response upon update

Currently just returning object literal directly from db upon user lookup.

{
    _id: "5848b65bb0e3120011e62abf"
    avatar: "https://avatars.githubusercontent.com/u/10674447?v=3"
    bio: "Biology major turned web-curious"
    commitsToday: 2
   currentCommitStreakDays: 1
   currentGoal: "Double click here to set your goal for the moment."
   highStreak: 1
   lastCheck: "2016-12-08T15:38:04.992Z"
   location: "United States"
   password: "$2a$10$sj4Sy8P0Ea3h1bt49cris.j7RO1WPhGMpUWyJMYFonVxAKg.bbxT6"
   streakDates: Array[1]
   url: "https://api.github.com/users/bryantee"
   username: "bryantee"
}

Should only return data actually needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.