justincy / signs-of-the-second-coming

Exploring the order of the signs of the Second Coming of Christ as mentioned in scripture
https://www.greatdayofthelord.org/
1 stars 0 forks source link

Design schema #49

Closed justincy closed 3 years ago

justincy commented 3 years ago

Signs

Relationships

Groups

Synonyms

justincy commented 3 years ago

Looking at the schema and imagining use with JSON makes me think that I could just use MongoDB and have a pre-commit hook that dumps the data via mongoexport.

But then, how would I do a static build in Netlify?

justincy commented 3 years ago

To do a static build with MongoDB in Netlify or Vercel, you need to have it publicly available so that you can load and process the data during builds. Too much for now.

The reason I've been thinking of a DB is just that it manages indexes for you, but I can build in-memory indexes manually. Each datatype could have a class that manages operations. Very easy.