Wednesday, December 17, 2025

current harder: local mongo

 Summary: purely local mongo

Current harder is getting a trivial local web app working connecting to a local mongo database.

I had previously spun up that part of mongo which allowed you interact with a local database via the CLI.

However, I had issues getting something with an API working - so it wasn't something I could interact with using the fetch API. I did confirm some of my (few) skills interacting with a Mongo database with the cloud offering - but my goal is something that works completely local: no internet access.

Thus, for me: getting mongo to work locally is hard for me right now.

Evidence:

If I can get it working, then my goal is to get it spun up and included in some sort of code that can work as part of a github-pages deployment - at which point I will not only have achieved my goal but have a way to prove it works.

Supplemental:

In the event I do all of the above, it would not be something I'd release as a production tool of any kind for several reasons - in particular becuase it would effectually be an unsecured API with no protection of any kind. But I love the proof of concept.

Presumptive Duration:

I anticipate this may take me two weeks, give take - so i'm giving myself until 01 January 2026.

--------------------------------------------------------------------------------------------------------------------------

Noted Challenges:

* Authentication | When trying to download any of the tools, you need to use an Authenticator-type app. And I haven't set one up for my Mongo account - so I couldn't download it onto an available laptop.

* Tooling | When I tried this earlier this year, I was unable to find/download "mongod.exe" - which meant, although I could run mongo locally via the DOS cli, I couldn't make API calls against that same database.

--------------------------------------------------------------------------------------------------------------------------

Disclaimer:

I might be wrong about all issues - but these are the notes and experiences I have ... hopefully, regardless, i'll make traction and learn something about this tool.

1 comment:

  1. my goal was to get something working that was not only purely local but also didn't require a separate installation.

    i have now learned enough to realize this was a poorly-characterized goal. So i am taking this as an opportunity to both better characterize my goals as well as find a mentor in the domain to help me understand how to do even that better.

    And so, hopefully, these occasional "harder" things (harder for me at least) will result in more personal growth, that is guided, intentional, and more likely to succeed.

    And, additionally, me giving up on this goal in this way is a separate gift for myself because my temptation is to simply quit. And I want to not quit.

    Hope everyone reading this is safe and has a great 2026. And beyond.

    ReplyDelete

current harder: diminish processed sugars

Summary: diminish processed sugars Current harder is take a look at the stuff i put into my body and to reduce (or eliminate entirely proces...