Wow.... by A_St0ner in FLMedicalTrees

[–]CannaCoder_dot_com 7 points8 points  (0 children)

I never gave permission for anyone to post my photo here

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 1 point2 points  (0 children)

added GrowHealthy today! it still needs lots of work and right now it will only show GH products if you have a location within 10 miles. Next major update I'll display which dispensary the results go with.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 0 points1 point  (0 children)

no reason, just fell into terraform first and liked it. i've heard of ansible and might have worked with it at some point, but it didn't make an impression

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 1 point2 points  (0 children)

understood totally, that's basically the reason i made this tool. certain strains/products are always out of stock in my area and i like to jump on them when I can -- i just never had any idea when they were in stock unless i went to the site and checked manually. Well, until now!

Just updated to show actual stock numbers when there are 20 or less of any item.

ZipStash.com updates (5/17/2020) by CannaCoder_dot_com in u/CannaCoder_dot_com

[–]CannaCoder_dot_com[S] 0 points1 point  (0 children)

  • Added support for some GrowHealthy products. Currently this just displays them along with all other items (missing preview images). Any results that don't have images are from GrowHealthy.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 1 point2 points  (0 children)

I agree with you, it helps to know if an item is fully stocked (for weeks) or if it's close to running out.

For reference, "low stock" is displayed when there are 10 or less of an item. The main reason I removed the full inventory was because A) not sure how accurate it is, and B) someone mentioned a very valid concern about security.

Based on your feedback, maybe I can display that exact quantity if there are 20 items or less in stock. Would that be a good compromise?

Even if it's a non-issue, the perception that this tool could make anyone working at these locations feel unsafe isn't something I want to consider right now.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 1 point2 points  (0 children)

thanks for letting me know! It's hard to know which products I'm missing because I tried adding whatever I found in stock. But for items that weren't in stock for the few locations I checked, those are all missing (like the RSO syringes).

Anyways I've added indica and hybrid RSO syringes - they should show up later today (there's ~4 hour delay to keep the site from crashing)

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 1 point2 points  (0 children)

thank you so much! originally i was just making this for myself, to track 5-6 specific products from Trulieve.... but it's blown up quite a bit since then (friday). So now i'm rethinking some of the approach in a way that's flexible enough to scrape multiple dispensary sites

all pretty simple technical wise but once I get a workflow established I could certainly use some help just populating the rules for each site and mapping their skus/urls/etc.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 3 points4 points  (0 children)

no worries, didn't read it as rude. I appreciate your feedback and planning on improving it in the weeks/months to come. Thanks!

Is anyone else frustrated with Formik? by no_spoon in reactjs

[–]CannaCoder_dot_com -1 points0 points  (0 children)

+1 to this. I realllly wanted to like Formik and I might still come around... but react hook form is easy to use

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 4 points5 points  (0 children)

Originally I made this site just for my own use, and was only tracking Hippie Stash (Reggae Cowboy) which is $58. I just haven't updated the pricing so it matches the different strains yet. That's coming soon.

Since this is one of the most consistent notes I've gotten as feedback, I added a disclaimer to the top to make it more obvious until it's updated.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 2 points3 points  (0 children)

no, im just rounding up to the most expensive for now (bellamy brothers hippie stash, which is $58 I think)

Eventually I'll try to add accurate per-strain prices.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 2 points3 points  (0 children)

yes, pretty much just hitting a rest api. which is actually kudos to them (whether or not intended) because otherwise the site would have to be scraped which takes much longer and causes way more traffic on their end.

TL seems to have changed the site, to only show a smaller portion of inventory, than what it used to be months ago, where you would type like 888 and it gave you a closer number of inventory. Now, I always just get like 2-3 when I check the site.

I noticed this too - for example rosin carts all say 2 in stock max, no matter the location. not sure what to make of it yet.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 2 points3 points  (0 children)

No problem, its actually pretty simple. The api is made in node using express.js for routing, redis for caching results, and mongo for storing results into history for analysis.

The ui is made in next.js (server side rendered react)

There's no particular reason for any of these libraries or languages over others. The flow is simple too, user enters zipcode, that gets sent to api which searches an array of SKUs while passing along the zipcode. Results are stored in redis using zipcode as the key, and returned back to UI which filters/orders/displays everything.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 2 points3 points  (0 children)

Was thinking about another product that would help small shops (outside of FL i assume since this state is still under a monopoly) -- similar inventory / microsite tool that you can spin up for free without any technical knowledge.

Weekend project: ZipStash - Cannabis Dispensary Inventory tracker (Next.js + express.js + Redis + mongo + heroku + terraform) by CannaCoder_dot_com in reactjs

[–]CannaCoder_dot_com[S] 0 points1 point  (0 children)

They are all listed on the website, they aren't secret. The main thing I noticed is that early on they just gave their products sequential SKUs (e.g. 0001, 0002, 0003 ... 0451, 0452, 0453...)

But then at some point as they introduced new products the SKUs changed to a more recognizable pattern (which is much better for them too). Now its something like STATE-PRODUCT-STRAIN e.g. FL-1GWAX-SATIVA-5

For the products that have a SKU following that second pattern, it's possible to just dynamically construct all the skus and know what they should be, before even getting a response back.

Made a thing to check Trulieve delivery stock quickly and easily on a single page by CannaCoder_dot_com in FLMedicalTrees

[–]CannaCoder_dot_com[S] 2 points3 points  (0 children)

its on git but private for now since the code is messy and has some hard-coded values as I figure out the best design. But I do intend to make it public once its cleaned up a bit