src/userGenerator.js
function(id) {
  let user = {}
  let gender = Math.random() > 0.5
  user.id = '' + id
  user.gender = gender ? 'MALE' : 'FEMALE'
  user.first_name = gender ? randomArrayValue(MALE_FIRST_NAMES) : randomArrayValue(FEMALE_FIRST_NAMES)
  user.last_name = randomArrayValue(LAST_NAMES)
  user.email = user.first_name + user.last_name + '@' + randomArrayValue(DOMAINS)
  user.createdAt = randomCreatedAtDate()
  user.updatedAt = randomUpdatedAtDate(user.createdAt)
  // user.mobile = randomPhoneNumber() // TODO
  // user.political = randomArrayValue(POLITICAL_PARTIES)
  return user
}
function(id) {
  let user = {}
  let gender = Math.random() > 0.5
  user.id = '' + id
  user.gender = gender ? 'MALE' : 'FEMALE'
  user.first_name = gender ? randomArrayValue(MALE_FIRST_NAMES) : randomArrayValue(FEMALE_FIRST_NAMES)
  user.last_name = randomArrayValue(LAST_NAMES)
  user.email = user.first_name + user.last_name + '@' + randomArrayValue(DOMAINS)
  user.createdAt = randomCreatedAtDate()
  user.updatedAt = randomUpdatedAtDate(user.createdAt)
  // user.mobile = randomPhoneNumber() // TODO
  // user.political = randomArrayValue(POLITICAL_PARTIES)
  return user
}
TODO : Eliminate duplicate names