How I Coded a SaaS (payments, database and frontend)

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024

ความคิดเห็น • 195

  • @NeetCode
    @NeetCode  ปีที่แล้ว +70

    🚀 neetcode.io - Get access to every current and future course I ever create.
    Let me know if you enjoyed this new "architecture" style video and I'll try to do more! 🙂

    • @abhaytiwari6411
      @abhaytiwari6411 ปีที่แล้ว +1

      i like it bro

    • @tanned_cosines_
      @tanned_cosines_ ปีที่แล้ว

      very much

    • @9gager87
      @9gager87 ปีที่แล้ว +1

      Super useful! Do more!

    • @abisheknair3545
      @abisheknair3545 ปีที่แล้ว +1

      Pls make an archetecture step by step video to create a system.

    • @Kaszanas
      @Kaszanas ปีที่แล้ว

      Well I am trying to implement a similar payment system for my product. Some code examples of how to implement what you were talking about when it comes to yearly subscription + one time payment would be very helpful.

  • @sams6454
    @sams6454 ปีที่แล้ว +232

    Its rare that someone shares their process and all the issues they run into while developing something. Most tutorials these days make things look so easy because they leave out their struggles. This only makes imposter syndrome worse. Thank you for being so genuine!

    • @georgedicu7397
      @georgedicu7397 ปีที่แล้ว +5

      yeah but not many wanna watch their struggle,
      ive seen many tech channels with all their progress and very very few views and vice-versa
      I think its pretty tedious to retain users and keep them from being bored.
      Even if they make a series our of it and not a 10h long video :)

  • @interstellar1873
    @interstellar1873 ปีที่แล้ว +113

    Thanks! Appreciate all the hard work and efforts that you put in for the community.

    • @somalideveloper1639
      @somalideveloper1639 ปีที่แล้ว +3

      Why is your comment highlighted with red and what is 1,000.00 indian rupees

    • @thechaoslp2047
      @thechaoslp2047 ปีที่แล้ว +2

      @@somalideveloper1639 hes a member that donated

    • @chrissametrinequartz9389
      @chrissametrinequartz9389 ปีที่แล้ว +5

      @@thechaoslp2047 It's just a super thanks, which highlights the user, it doesnt have to be a member

    • @theendurance
      @theendurance ปีที่แล้ว

      @@somalideveloper1639 donation

    • @jhonsen9842
      @jhonsen9842 ปีที่แล้ว +1

      OMG $1000 , Just WoW.

  • @timothynash4585
    @timothynash4585 ปีที่แล้ว +181

    Amazing video. Software as a Service is the way to become financially independent. Even when you make 200k a year for google you still have google as your boss. When you make 200k a year from the recurring subscriptions to your software as as service thats when you truly made it.

    • @omkarajagunde4175
      @omkarajagunde4175 ปีที่แล้ว +1

      Correct im a mern stack developer, do let me know if you have any need for code collaboration

    • @DogeMultiverse
      @DogeMultiverse ปีที่แล้ว +20

      Instead of having 1 employer (Google), you have 1000 employers (assuming $200 yearly subscription)
      Each of them threatening to leave for better/cheaper alternatives

    • @anj000
      @anj000 ปีที่แล้ว +1

      Until you realize, software as a service will also lead to an addiction to big corporations and your financial independence will be an illusion.
      (anything) As A Service is the biggest scam and cancer of our world. You will need subscription to use software, drive a car, and basically live.

  • @syre1616
    @syre1616 ปีที่แล้ว +32

    Been watching you for the longest, and can honestly say you're one of the most genuine channels out there who try to help people as much as possible, keep doing what you're doing brother, already a NeetCode Pro member as well

  • @shuhaozhang7332
    @shuhaozhang7332 ปีที่แล้ว +14

    It’s really motivating to see you doing the coding videos, getting hired by google, a coding problem list website, and then a fully fledged SAAS, step by step. And the best part is you keep going. Cheers mate!

  • @paulogalhardo
    @paulogalhardo ปีที่แล้ว +5

    Great content man!
    What makes it gold to me:
    * Overview of the application architecture.
    * Analysis of the decisions you've made. * Problems you encountered and how you solved them.
    * Explanation of how the chosen technologies work.

  • @phoneix24886
    @phoneix24886 ปีที่แล้ว +2

    I really respect the conviction that you have to help others. Thanks man. The software engineering world needs more people like you.

  • @ranjithragul
    @ranjithragul ปีที่แล้ว +1

    I watched this video when its aired, Its like alien language to me. Today I watched with knowledge of Neetcode system design. Thats realy wonderful.

  • @abdoreda7126
    @abdoreda7126 ปีที่แล้ว +11

    Such a good video, organized and gives a good overview of how you created the project.

  • @SnehilCodes
    @SnehilCodes ปีที่แล้ว +6

    Another MAJOR reason why the status is sent to the server and not the client is because the client can be a malicious user who can send a forged status "SUCCEEDED" request to your firebase function and firebase would consider it to be true. To avoid that you'd have to recheck on the backend to confirm the status, hence the webhook approach is much better and simpler!

  • @theodoregolob4191
    @theodoregolob4191 ปีที่แล้ว +3

    This type of system design video is incredibly educative. One of your best videos!

  • @Xe054
    @Xe054 11 หลายเดือนก่อน

    I loved this video! I'm at a stage where I want to build my own small SaaS project, and this video helped me visualize how I might approach that problem. I know it won't be easy, but I know the rewards of starting your own business can be immense.

  • @prathameshjoshi2136
    @prathameshjoshi2136 ปีที่แล้ว +6

    HAPPY TEACHER'S DAY NEETCODE! Love from India! We're celebrate Teacher's day here in India every 5th of September! :)
    Please do make more System Design videos like these in future! Would love to learn all of this! Also on a different note, would like to see your face in one of these videos :D I just recognize you by your voice, add a face to this amazing channel already!!
    Thanks for all the continuous and genuine efforts!

  • @CHIRANJIBNANDY1
    @CHIRANJIBNANDY1 ปีที่แล้ว

    Learned so much from this short video itself. Thanks neetcode. The way you explain the problems you solved, was amazing

  • @Kevin-jc1fx
    @Kevin-jc1fx ปีที่แล้ว +4

    This is an amazing and very informative video. It gives a very useful overview of what is happening and how a project is handled end to end.
    Regarding the aesthetics of the site, I think it is worth it to have a professional redesign it for you so that it has a more serious look. Congratulations on reaching new heights. Godspeed.

  • @waylag9144
    @waylag9144 ปีที่แล้ว +3

    Loved this! I'd love to see more of these architecture type videos.

  • @akhilbisht798
    @akhilbisht798 ปีที่แล้ว

    I really liked that you choose to make your own CSS. This makes it look and feel unique

  • @invictuz4803
    @invictuz4803 ปีที่แล้ว +1

    Incredible content, this is the best of the best on the Internet!

  • @chrislyonm
    @chrislyonm ปีที่แล้ว

    There aren't a lot of easy-to-follow architecture videos out there. This is great! Yeah bro, please make more.

  • @tholfikarmohammed887
    @tholfikarmohammed887 ปีที่แล้ว

    I will defiantly choose a life time plan for such clearly explained content, I would like to see more of SaaS and system design topics in the future.

  • @nebiyuelias1
    @nebiyuelias1 ปีที่แล้ว +2

    I wasn't expecting this from a Google engineer.

  • @dianasvideos123
    @dianasvideos123 ปีที่แล้ว

    Thank you for another very helpful video, Neetcode!!! 😃💙 I needed this!!! 🙌🏼

  • @sankalpgaharwar8319
    @sankalpgaharwar8319 ปีที่แล้ว

    Loved the description of the engineering process!

  • @mbaljeetsingh
    @mbaljeetsingh ปีที่แล้ว

    I completely agree with the cloud functions cold start. I'm also building a sass currently, and I can see this issue when using cloud function for stripe payment. It sometimes take around >5 seconds.

  • @hubertboguski
    @hubertboguski ปีที่แล้ว

    Love that you’re sharing this.

  • @RonanBorja
    @RonanBorja ปีที่แล้ว +1

    I love neetcode I wish I had it before I used other courses like Algocademy or other youtuber courses. Can't wait for that frontend content.

  • @siruitao
    @siruitao ปีที่แล้ว +1

    Thanks, NeetCode. Love your content, it really helps a lot. Just upgrade to pro for life 🤪

  • @BobbyMully
    @BobbyMully ปีที่แล้ว

    just went lifetime. Best videos on coding questions hands down

  • @Blitzloki
    @Blitzloki ปีที่แล้ว

    I definitely enjoyed your journey in creating this awesome SaaS

  • @Chawndango
    @Chawndango ปีที่แล้ว +1

    I know a way around cold starts in Azure is to add a "warm up" trigger to run your function periodically.
    I imagine you could do the same with cloud scheduler or something to make a request to your function periodically to keep an instance running.
    Although I'm not sure how much that would cost vs the minimum instances you talk about.

  • @CompSciCentral
    @CompSciCentral ปีที่แล้ว +1

    This is so cool to see. You've done a really great developing and launching your platform. I really like the overall feel of *neetcode*. I plan on developing something similar in the future so I love that I'm able to get a sneak peek of your process. It's really eye-opening, there are a lot of things that I haven't considered. Thanks for making this!

  • @prodsefv
    @prodsefv ปีที่แล้ว

    i like how neet can be easy to understand

  • @dawizze1
    @dawizze1 ปีที่แล้ว

    Absolutely love this kind of content.

  • @jakemorales7949
    @jakemorales7949 ปีที่แล้ว

    Awesome retro on Firebase DevX. Seeing this insight definitely helps me/others decide the which tools to use for a fullstack app

  • @dansteryoo
    @dansteryoo ปีที่แล้ว +1

    def more real world tech problem solutions.. thanks!

  • @venkatbabu186
    @venkatbabu186 ปีที่แล้ว

    Wherever trade frontend or buy or sale or query or other things.. it is always scan code. Because people don't have to have other functionality. Or language or other types. Even a human ID can be used by scan code. Including login.

  • @hoyinli7462
    @hoyinli7462 ปีที่แล้ว

    love system design type content! support!

  • @SiaarZH
    @SiaarZH ปีที่แล้ว

    The issue you mentioned at 8:00 is probably related to a client's browser plug-in and often it's something that isn't supposed to cause issues - like a password manager.

  • @user-oc6ky2tk5o
    @user-oc6ky2tk5o ปีที่แล้ว +1

    Thank you, this was really informative !

  • @vicradon
    @vicradon ปีที่แล้ว +1

    It'll really help folks in Africa if you can integrate Paypal payment option. For example, Nigerian cards don't work on Stripe.

  • @Kyjor_
    @Kyjor_ ปีที่แล้ว

    This is awesome. Hopefully I don’t need this pending interview results, but if I do I’ll definitely buy this! Your videos have helped me so much in a short amount of time

  • @YagiTheDog
    @YagiTheDog ปีที่แล้ว

    Thank you for sharing! Cool to see how it all works

  • @beaconbecay1648
    @beaconbecay1648 ปีที่แล้ว

    Cool architectural video. Hoping for more in the future.

  • @joshblf
    @joshblf ปีที่แล้ว

    I've been using this exact stack recently. For me, the speed of keeping my Cloud functions in the same repo as my Angular code has been a big time-saver. I agree with your CSS comments also. Many developers rely too much on pre-built component libraries and never really become experts in CSS. Plus, the web becomes too cookie cutter. This is why we saw the rise of brutalist websites in protest.

  • @foaRIonia
    @foaRIonia ปีที่แล้ว +5

    Hey Neetcode, great video and great stuff as usual. I have a question regarding your new paid courses. In which way are they different than other courses (paid and free) that can be found online? I'm genuinely asking as I want to make an informative decision.

  • @senthilkumar5
    @senthilkumar5 18 วันที่ผ่านมา

    Thanks for sharing it for free. :) Even I was having the same question - why did you build a website when Udemy like platform available. Now got the answer ;)

  • @dorothychristina2721
    @dorothychristina2721 ปีที่แล้ว

    Eagerly waiting for your next video on how you built this application and do post more on architecture type that is beginner friendly too.love your work.

  • @yan0kyan0
    @yan0kyan0 ปีที่แล้ว

    Well done, congratulations. You inspire me. Thank you!

  • @ayomikunogunjuyigbe1286
    @ayomikunogunjuyigbe1286 ปีที่แล้ว

    Bro you are so good at explaining things😂😂, I really enjoyed this video

  • @ClashwithMeqiC
    @ClashwithMeqiC ปีที่แล้ว

    Great vid !
    Loved they architecture style

  • @johnken0
    @johnken0 ปีที่แล้ว

    This was an amazing video, definitely do something like this againn

  • @GreenSoap
    @GreenSoap ปีที่แล้ว

    Nice breakdown, man the vendor lock-in is real with this one 😬

  • @vasanthkumar3685
    @vasanthkumar3685 ปีที่แล้ว

    I for sometime thought this is a rant video 😂 😂

  • @_briantravis
    @_briantravis 11 หลายเดือนก่อน

    please create more architecture / system design videos!! loved it :)

  • @estifanosbireda1892
    @estifanosbireda1892 ปีที่แล้ว +1

    yeah, plz do keep it up!

  • @srinadhp
    @srinadhp ปีที่แล้ว

    Very interesting to walk through the journey!

  • @jonrzurita
    @jonrzurita 11 หลายเดือนก่อน

    I think you made a smart move by not joining udemy and having full control over the user experience. I really enjoy the interactive feel of neetcode and how it’s almost like a toolbox you can open up next to you while u grind out leetcode.

  • @sakshamkumar9191
    @sakshamkumar9191 ปีที่แล้ว

    Great Content, keep it up!!

  • @compton8301
    @compton8301 ปีที่แล้ว

    All the best. I really like such videos- make more please! :)

  • @greatestuff
    @greatestuff ปีที่แล้ว

    "Firebase is not a smooth experience as I was expecting" Thank you!!!!! I felt like I was the only one. Like some kinda Emperor's New Clothes. Everything I see talks about how easy Firebase is, but have they actually used it?

  • @ijasdeen3809
    @ijasdeen3809 ปีที่แล้ว

    I love the way you speak dude

  • @LeoLeung.93
    @LeoLeung.93 ปีที่แล้ว +3

    Thanks so much for the website! How long did it take you to build it?

  • @hazema.6150
    @hazema.6150 ปีที่แล้ว

    Thanks for the experience sharing. All the best.

  • @noahguale1083
    @noahguale1083 ปีที่แล้ว

    Keep up with these type of videos!

  • @uditsharma5688
    @uditsharma5688 ปีที่แล้ว

    Wow! that was one detailed video about the neetcodeio.

  • @sdaiwepm
    @sdaiwepm 9 หลายเดือนก่อน

    Do you have a video about bridging the chasm between "tactical" DSA problem solving, which is most of your videos, and designing a large and complex platform like this?

  • @gunahawk6893
    @gunahawk6893 ปีที่แล้ว

    Happy for you man

  • @chaitanyatirki4711
    @chaitanyatirki4711 ปีที่แล้ว

    Amazing explanation
    Enjoyed the video

  • @timothytanner29
    @timothytanner29 ปีที่แล้ว

    Enjoyed this thanks for posting

  • @sanesanyo
    @sanesanyo ปีที่แล้ว

    You could have used the Stripe Firebase Plugin to manage Stripe subscription. That will get you started in matter of minutes. It took me 25 minutes to set up subscription handlers. Strongly recommend if you want to get to MVP asap

  • @johnsimon8158
    @johnsimon8158 ปีที่แล้ว

    Loved it great video, your explanations were simple yet great. Would also love a fullstack course by you

  • @SaceedAbul
    @SaceedAbul ปีที่แล้ว

    Keep going. You can be the Khan Academy of Tech 🥳

  • @Blitzloki
    @Blitzloki ปีที่แล้ว +1

    How long did it take to complete this project? How long did it take to plan the project and How long did it take to wireframe the idea
    Just wondering :)
    This will give me also a good insight on how long it take to create my own SaaS

    • @dixztube
      @dixztube ปีที่แล้ว +1

      So I just finished one and it included
      User auth
      Event and organization listings with mapping
      Event request and response
      Subscription billing (few subscription models)
      Organization and event profiles
      Newsfeed
      Posts (with likes)
      Polling (surveys where user can vote)
      Metrics
      About 15 static pages
      CMS (didn’t build and using strapi)
      Managed Postgres db
      Reverse proxy using nginx
      User account area and various dashboards
      All in all it took about two years but should have taken about 8 months but i was the sole developer doing IA, UI, front end and backend and had to teach myself things I know quickly now that took some time in the beginning
      Now it would probably take me about 6-8 months.
      One thing I will say though - the most important thing is the planning. Like do the non code stuff. You don’t have to go full blast UMD charts and documentation but you definitely wanna do some and wireframe everything out

  • @guillaume5623
    @guillaume5623 ปีที่แล้ว

    Great content ! Thank you !!!

  • @sleepy-dev14
    @sleepy-dev14 ปีที่แล้ว

    This is an awesome vid. Very different from the usual tutorials out there. I have one question, have you tried writing a pagination using a no-sql (firestore) and how's the recommended data model for that. Hopefully, you can create a video about this one.

  • @blabla-kk8bl
    @blabla-kk8bl ปีที่แล้ว +1

    I think this is a hard setup for a saas. I prefer vue-django-mysql classic server setup. Also I am not tend to use vendor lock-in products like firebase and google cloudsql.

  • @IamConstM
    @IamConstM ปีที่แล้ว +1

    Hey man love the video thanks for putting this process out here much appreciated... please how long did it take to have a basic of your saas running online

    • @NeetCode
      @NeetCode  ปีที่แล้ว

      Probably 1 - 2 months, most of it was rewriting stripe integrations and debugging stripe issues.

  • @sahil_tayade
    @sahil_tayade ปีที่แล้ว +1

    I would totally pay for this service if I was into front-end, unfortunately I see myself going more into backend/AI since I really dislike stuff like CSS.

  • @rsKayiira
    @rsKayiira ปีที่แล้ว

    great video!!

  • @theenilenation
    @theenilenation ปีที่แล้ว

    I been using your platform and I know once I finish I'll be ready for them faang interview

  • @serkisdav
    @serkisdav ปีที่แล้ว

    About the coldstart, i had same issues when was developed a Faas software using AWS lambda function, I used serverless framework, and for dealing the prevent the coldstart delays I integrated warmup function that keep the lambda warm and ready for the requests all the time with time scheduled config. Probably firebase must have or must dev something similar :) cheers

  • @ricocode
    @ricocode ปีที่แล้ว

    Enjoyed!

  • @KellsCode
    @KellsCode ปีที่แล้ว

    My experience with the Google Cloud Platform as a whole has been rough

  • @TheCodeDealer
    @TheCodeDealer ปีที่แล้ว

    New Here, thanks for this video.

  • @shikhargupta6626
    @shikhargupta6626 ปีที่แล้ว

    I enjoyed this kind of video.

    • @shikhargupta6626
      @shikhargupta6626 ปีที่แล้ว

      Oh wow, you saw my comment. Thank you so much for your work Neet. It is really helpful to so many people. Also, could you please make more videos like this? Thank you. You are commendable.

  • @louisant1817
    @louisant1817 ปีที่แล้ว

    I'm so interested in Angular content from you

  • @shadon_official2510
    @shadon_official2510 ปีที่แล้ว

    Amazing stuff

  • @posthocprior
    @posthocprior ปีที่แล้ว

    That was really helpful.

  • @glitchinLife
    @glitchinLife ปีที่แล้ว +1

    Neetcode is great, channel and the website, I use it often to refresh on some problems and not get rusty.
    Is there any way to contribute to the website? I think it's fair to try to payback at least a small fraction of all the help you are giving to the community for free

  • @innnnhok
    @innnnhok ปีที่แล้ว

    LOVE❤

  • @dumdumbringgumgum2940
    @dumdumbringgumgum2940 ปีที่แล้ว

    waiting for the system design course 🔥🔥🔥

  • @aly3614
    @aly3614 ปีที่แล้ว

    Awesome content! When would the lifetime acess promo end?

  • @lilyydotdev
    @lilyydotdev ปีที่แล้ว

    Trust me, as long as you don't need to touch the PayPal API you have nothing to complain about. In that context Stripe's API is like heaven and PayPal's is like the darkest part of hell.

    • @NeetCode
      @NeetCode  ปีที่แล้ว

      Yeah, ive heard the paypal api is pretty bad lol

  • @onuricen2624
    @onuricen2624 ปีที่แล้ว

    Amazing insights

  • @md.n.a.s.8851
    @md.n.a.s.8851 ปีที่แล้ว

    instead of express , go with nesjs since you like TS already

  • @akash-kumar737
    @akash-kumar737 ปีที่แล้ว

    I am planning to use cloudflare workers over firebase functions as it look more efficient and without cold start. What is your suggestion?

  • @tapu_
    @tapu_ ปีที่แล้ว

    Couldn't resist itself from reaching 6.9s

  • @buddh4r
    @buddh4r ปีที่แล้ว

    Isn't one reason the payment status is directly sent to your backend instead of the browser that you can not trust the browser? I assume you could validate the status again in the backend but with the webhook we can skip few steps.

  • @MVSNRaju-wi5ns
    @MVSNRaju-wi5ns ปีที่แล้ว

    Please do more of the system design

    • @NeetCode
      @NeetCode  ปีที่แล้ว

      Will have another one uploaded this weekend 🙏