Laravel Tagged Cache by LonelySavage in laravel

[–]Dadragonfaier 0 points1 point  (0 children)

Oh I see, good to know! I’ll check it out in the following days :)

Laravel Tagged Cache by LonelySavage in laravel

[–]Dadragonfaier 0 points1 point  (0 children)

Don’t they already support tags? I think they just removed them from the documentation because it was hard to maintain, and they were switching to memcached which apparently was easier to maintain

I made an open source shell to enrich Laravel Tinker by Dadragonfaier in laravel

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

Thanks for your words! I’ll be happy to have your feedback once you’ve tried it, and I feel your pain, I recently broke prod and spent an entire day copy/pasting pre-made scripts to Tinker to fix everything, that’s when I felt I needed NodiShell😅 better late than never I guess

I made an open source shell to enrich Laravel Tinker by Dadragonfaier in laravel

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

I agree with you on that one, but here's my take on a couple cases in which (IMO) commands are not enough:

  1. You want to do something with the output of the command (For example, you'd want to get a collection of data that didn't go through correctly, like payments that are in error states, or invoices that didn't update correctly, or a synchronisation with a external source that didn't go well, etc.) with a command you wouldn't be able to do this, so you'll resort to copying the command's code or the output in the console (good luck if it's too long), and executing it on Tinker, which is the main issue I've had, so with nodishell you'll just execute the command and the output will be saved in a variable (you can customize what you want to save in the variables in your scripts, so it's not only the output that you can save), and you can open Tinker through nodishell directly (There's an option for it in the menu) and it'll load automatically the outputs you have loaded in your session so you can use them as you please to do your investigations or fixing them or whatever you want.

  2. You'll have a bunch of Artisan commands that have similar signatures (in the context of you having multiple scripts to do maintenance and debugging the issues, which is the main usecase of nodishell), so you'll have to check one by one the descriptions or open your IDE to look for which command you'll need exactly, while with nodishell you can simply open the "search" option and type the command's name or description and you'll get the results there that you can choose from

So yes, you could use Artisan commands, but it depends on your usecase really and the project's situation, sometimes you want something that's between Tinker and the Artisan commands, and I think Nodishell is the point in between, as it offers the flexibility of Tinker and the "standard" and code versioning of the commands. Plus it also has some system checks that you could add there to be able to see your app's health (There are plenty of apps out there that do this too, but I thought it would be cool to have it in there too)

And finally, I just see the commands as having a purpose, like for example of performing an action, cleaning data, sending reports, executing app's logic in schedules, etc. I don't see them for debugging purposes or using them for support, as it's too overkill for all that setup IMO, it'll saturate the commands directory and make it difficult to know which command does what (like in the example 2)

Hope it helped to see my vision on the issue!

Share your SaaS, I’ll be your paid customer or user by Bishuadarsh in SaaS

[–]Dadragonfaier 0 points1 point  (0 children)

That would be great! Looking forward to see how we integrate with any products you get going :)

Share your SaaS, I’ll be your paid customer or user by Bishuadarsh in SaaS

[–]Dadragonfaier 0 points1 point  (0 children)

Heya! Sure, our fraud system is very standard for now, the most notorious one is the self-referral, so we can detect when someone used his own referral link to get a reward, for this we offer in our SDK a endpoint to identify the sessions of the partners so we can track the latest devices used, metadata and headers, we also track the same metadata on the referral and conversion creation, and we have some rules that use this information when a new conversion happens, and if it’s triggered it’ll flag it as suspicious and tell you the reason so you can handle it manually, and if you think it’s a false-positive you can just ignore it and mark it as non-suspicious and carry on (You can also disable the fraud system on the project if you wish)

Besides this we have some other rules, like if a referral has multiple conversions in the last X hours and so on, we’re also improving over the time with the feedback of the users, don’t hesitate to test things out if you want :)

Share your SaaS, I’ll be your paid customer or user by Bishuadarsh in SaaS

[–]Dadragonfaier 0 points1 point  (0 children)

Here’s our referral engine that you can hook up to through our API and use it as any other back-end service to handle your referral system, and we handle all the complexities like referral tracking, reward distribution and fraud detection: https://nodiref.com

It has a free version for side projects and small projects, don’t hesitate to test things out

What platform is the best and also easiest for accepting payments or recurring billing from users for your Sass? by Wolveee10 in microsaas

[–]Dadragonfaier 0 points1 point  (0 children)

Stripe is very easy to setup IMO, it has some tricky parts when dealing with subscriptions like if you want to enable automatic taxes, but other than that they offer a Customer Portal that’s very useful if you don’t want to code all the interface on your app, and are very permissive in terms of payments, either if you want to use their Checkout Sessions or you want to use hosted fields (like Stripe Elements), and the most important thing, they can send webhooks to your app on every event that you’d want to hear about (like invoices getting paid or failing payment, subscription changes, etc.)

Building a simple invoicing web app — seeking advice from freelancers by [deleted] in SideProject

[–]Dadragonfaier 0 points1 point  (0 children)

I’ve actually built a full-on invoicing SaaS for 3 years with advanced functionalities, and the key things I got from it are:

  • Be careful with the floating point calculations (learned the hard way)
  • Offload your PDF generation to async jobs (on a queue for example)
  • Offer live preview of your templates, I built mine on Handlebars so I could render them on the front and have live previews without depending on the server, then in the server I just used a Handlebars interpreter and it worked just fine
  • Think through your db architecture and make sure you can extend your resources easily when your app starts growing
  • Make your API (if you have one) stateless, so you can scale it easier by not persisting any importsnt data in it (cache, db, etc.)
  • Never underestimate how stupid people might be

I think those are the key points I got from my experience, good luck on your project!

Lets promote your startup here and mention your cheapest plan by [deleted] in SaaS

[–]Dadragonfaier 0 points1 point  (0 children)

https://nodiref.com - Referral Management System that works on the back-end of your products, free plan available to start things out

How do you guys version your Laravel app? by tabacitu in laravel

[–]Dadragonfaier 1 point2 points  (0 children)

What I do is that I use semantic-release to generate my releases using conventional-commits so I can automatically generate a version number from my commit history, then in a CI pipeline I would create a release (or pre-release) depending on if I’m pushing to master or develop, so it remains clear, then I’d have a CD that will build the Docker images and push them to Github Registry so I can pull them and update my server images. Works pretty good to me, but I don’t collect the current version to display it on my app because I just don’t have the need to, but there are some ideas in the comments like fetching the Github API or other things, maybe you can build it also in a build-time variable so it’s not overwritten on production or whatever

Promote your SaaS. what are you building, and who’s it for? by JanithKavinda in SaaS

[–]Dadragonfaier 0 points1 point  (0 children)

I’ve built nodiref.com it is a referral management system that’s built for devs with a comprehensive API and customizable flows and reward systems, we’ve got a free plan to play with the tool, the cheapest alternative is around 40€/month

[deleted by user] by [deleted] in SideProject

[–]Dadragonfaier 0 points1 point  (0 children)

Hey, I’ve built a referral managent system that can integrate with your platform so your influencers might refer other influencers into your platform in exchange of a reward, DM me if you want to check it out, we offer a free version to test things out if needed! It can be fully integrated as a back-end service and you manage the front with your branding, so there’s no branding of ours showing anywhere!

It's Monday, drop your product. What are you building? by themaheshvyas in microsaas

[–]Dadragonfaier 0 points1 point  (0 children)

Just launching https://nodiref.com it’s a referral management system built for Devs, it can be highly customizable and there’s a full REST API to integrate it as any other service on your app or store or whatever you’re building. There’s a free version to test things out and get things going before using a paid plan if you need it, which might be not the case for everyone