22
AleCx04
5y

Had an idea for an app. I started writing the prototype in Node since I just had a simple API in mind. Wanted to have some very basoc crud functionality going and then hook up a nice interface to it. It has to do with logistics and analytics so I just wanted to start sketching something small, and being that i have been successful in doing an API like this in the pass with node and mongo for a local company I said why not.

I have finished a good chunk of it. Gotta love that js productivity. But what tripped me out about it was:

Check how big the folder size is: 387mb

EXCUSE ME??!!

I tripped, there was no way in hell this shit was that heavy. I am basically using Koi(to give it a whirl instead of express, gotta start testing koi sometimes right?) And some joi with morgan and winston. That is it. I am using mongo since legit its the only one i know, even with that there really can't be that much right?

Check node_modules size.....10mb....wtf? What
Wait
Did it?

Sure as shit....forgot that i was storing the mongo data folder inside the app's root folder.

This would have been nothing if it would have taken me 30 seconds to figure it out.

I was losing my mind for 30 mins before i decided to properly verify

I need some sleep

Comments
  • 6
    Had an idea for an app. Started writing the api in yurt because thats the fastest to write i know. Checked the project folder, 7kb. All was good.
  • 6
    Had an idea for an app. Started writing the spec on stone tablets. Hand it over to Moses (QA). He didn't even complain about them being heavy af. "At least it isn't node_modules". I love that guy.
  • 1
    @ganjaman a 14 star github framework?

    Nah fam. You have way more patience and brains than I do.
  • 0
    @theKarlisK :(
  • 0
Add Comment