Git Product home page Git Product logo

fac-mentorship-schedule's People

Contributors

abdhalees avatar hanatj avatar jabloun avatar mahmoudalwadia avatar salwaalnazly avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ishak52

fac-mentorship-schedule's Issues

host on heroku

It would be great to see your app hosted on Heroku!

Because of the environment variables it is a lot harder for people to just pull and run locally, so hosting really helps on these projects.

inconsistent variable naming style

Generally, in javascript you'll use camel case (likeThisKindOfWriting), in some languages and such peope also use snake case (snake_case_is_like_this), in your queries/db_functions.js file you have a snake case variable name (cohort_mentor) alongside all your camel case names, I would recommend changing this to make it more consistent.

Fire work guys!

I really loved your code, clear and organized file structure, big like for using SSL
I think you need to handle errors and make the user familiar with some of it, not just Loging it, also it's better to use a <input type="date"> rather than insert it as a text ..
but in general chapeau
bitmoji

date type

using the callback without puting it in the function arguments !

getData(cohort, (err, res) => {
    if (err) {
      console.log(err);
    } else {

      res.map((object, i) => {
        weeks[object.num].mentors.push(object.githubuser);
        weeks[object.num]['title'] = object.week_title
      })
      cb(null, weeks);
    }
  })
}
  cb(null, weeks) is not an argument for this function, you need to add it and need to add the callback in error case so you can handle the error in the callback , like this 
if (err) {
     console.log(err);
    cb(null);
   }

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.