clinical:accounts-famous-dead-people

v1.4.8Published 7 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

accounts-famous-dead-people is a Meteorite package to populate your Meteor.users() collection with famous dead people.

screenshot


Installation

First, install the accounts-famous-dead-people package from the command line, like so:

# to add famous dead people to your application
meteor add clinical:accounts-famous-dead-people

# to initialize famous dead people
INITIALIZE=true meteor 

# to initialize famous dead people using the HL7 FHIR Patient Resource
INITIALIZE=true Patients=true meteor

Default User Record Schema

The user objects are have a fairly simple document schema that looks like the following:

1{
2  username: 'ada',
3  password: 'ada',
4  email: 'ada@test.org',
5  profile: {
6    name: 'Ada Lovelace',
7    role: 'Administrator',
8    avatar: '/packages/clinical_accounts-famous-dead-people/avatars/ada.lovelace.jpg'
9  }
10}

Default Usernames and Passwords

Usernames and passwords for all the users should be the same. For the most part, the username and password will both be the person's first name, but a number of users are set as the last name. All emails will be at the test.org domain.


Users List

Ada Lovelace
Alan Turing
Alexis Carrel
Edward Doisy
Edward Tatum
Florence Nightingale
Galen
George Beadle
George Wald
George Washington Carver
Hermann Muller
Hygea
James Watson
John Eccles
Kurt Vonnegut
Madam Curie
Mary Shelley
Mother Teresa
Octavia Butler
Roger Sperry
Samuel Clemens
Rosalind Franklin
Nicola Tesla
Grace Hopper
Carl Gauss
Claude Shannon
Barbara Mcclintock
Gertrude Elion
Rachel Carson
Maria Mayer
Rita Levi Montalcini
Elizabeth Blackwell


Example Usage

1{{#each userList}}
2{{profile.name}}<br>
3{{/each}}
1if (Meteor.isClient) {
2  Meteor.subscribe("users");
3
4  Template.registerHelper('userList', function(){
5    return Meteor.users.find();
6  });
7}
8
9if (Meteor.isServer) {
10  Meteor.publish("users", function(){
11    return Meteor.users.find();
12  });
13}

License

MIT License

Images should all be in the public domain.