metakgp / Zoom

[Deprecated- Use Naarad instead] Delivering Facebook posts and tweets of MetaKGP realm to FlashPoint
GNU Lesser General Public License v3.0
0 stars 2 forks source link

Use mongodb instead of a JSON file for storing posts and last ID #11

Open icyflame opened 6 years ago

icyflame commented 6 years ago

Using a DB will allow us to deploy this anywhere (even on Heroku). If we use files that need to be persistent, then we will have to deploy it on our server. I prefer Heroku deployments because they are much easier to setup and maintain.

cc @TheMousePotato

themousepotato commented 6 years ago

I'm on to it. @icyflame What should be the MongoDB URL? Or do I have to create a new one by myself?

icyflame commented 6 years ago

this is the format of the URI. It depends on where your database. If you installed mongodb locally, this will be something like:

I would recommend installing mongodb locally and then installing robomongo to inspect your database.

Thanks for working on this! Since this is new tech for you, feel free to ask any questions here. (Preferably only those that pass the esr smart question test)