Open southrop opened 8 years ago
Hi,
I recommande to use a real mongodb structure for the DB, in order to manage it easily or add new info:
Example:
{
"_id" : ObjectId("57ecf3c263e38f3cbcc2eb2f"),
"name" : "Minase Inori",
"name_jp" : "水瀬いのり",
"nickname" : [
"Inosuke",
"Inorin"
],
"nickname_jp" : [
"Inosuke",
"Inorin"
],
"birthday" : ISODate("1995-12-02T02:00:00.000+0200"),
"img_url" : "https://myanimelist.cdn-dena.com/images/voiceactors/1/36967.jpg"
}
{
"_id" : ObjectId("57ecf63763e38f3cbcc2eb30"),
"name" : "Sakura Ayane",
"name_jp" : "佐倉綾音",
"nickname" : [
"Ayaneru"
],
"nickname_jp" : [
"あやねる"
],
"birthday" : ISODate("1994-12-29T02:00:00.000+0200"),
"img_url" : "http://vignette2.wikia.nocookie.net/voiceacting/images/9/9a/Ayane_Sakura.jpg/revision/latest?cb=20121008062024"
}
So if you want to add their VA roles, kingblade color, discography or 3 siz- ; add a new field. If you want rotation for the profile image, change "img_url" to an array "img_urls" and randomly query one of the elements from it.
My 50¥.
Cheer, Z
At this point, I think I need to take a step back and re-examine the scope of this project...
We should use a JSON file as a fallback "database" in case the mlab database goes offline.