nicola / isawake

:sunrise: The (eventually) biggest crowdsourced database of people awake, sign up with a pull-request
http://isawake.me
27 stars 25 forks source link

Database for names #5

Closed nicola closed 10 years ago

nicola commented 10 years ago

I think that we should put in a folder people/ all the person.json and query that every single time, so that we can make a file-database into github!

framp commented 10 years ago

That would still be a problem in the long run, because of the file getting bigger. It's wiser to have directory with nickname.json file and just require the correct json name at runtime.

nicola commented 10 years ago

I think that's easier than you think. I might have explained it wrongly. Basically we have a folder people/ and we put all the file names in there, like nicola.json, framp.json. Whenever you go on nicola.isawake.me, it will load the file called nicola.json.

mtt87 commented 10 years ago

:+1: sounds great

framp commented 10 years ago

Yeah, that was exactly what I meant with nickname.json file :+1:

nicola commented 10 years ago

Great, I am doing that