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

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • 🚀 neetcode.io/ - A better way to prepare for Coding Interviews
    🥷 Discord: / discord
    🐦 Twitter: / neetcode1
    0:00 - Intro
    0:26 - Frontend
    2:55 - Backend
    6:35 - Database
    8:55 - Payments API
    11:40 - Course platforms
    #neetcode #coding #saas
  • Наука та технологія

КОМЕНТАРІ • 195

  • @NeetCode
    @NeetCode  Рік тому +68

    🚀 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 Рік тому +227

    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 Рік тому +111

    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 Рік тому +174

    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.

  • @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!

  • @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

  • @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.

  • @paulogalhardo
    @paulogalhardo Рік тому +3

    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.

  • @theodoregolob4191
    @theodoregolob4191 Рік тому +3

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

  • @abdoreda7126
    @abdoreda7126 Рік тому +11

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

  • @CHIRANJIBNANDY1
    @CHIRANJIBNANDY1 Рік тому

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

  • @waylag9144
    @waylag9144 Рік тому +3

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

  • @dianasvideos123
    @dianasvideos123 Рік тому

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

  • @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.

  • @Xe054
    @Xe054 8 місяців тому

    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.

  • @sankalpgaharwar8319
    @sankalpgaharwar8319 Рік тому

    Loved the description of the engineering process!

  • @hubertboguski
    @hubertboguski Рік тому

    Love that you’re sharing this.

  • @YagiTheDog
    @YagiTheDog Рік тому

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

  • @invictuz4803
    @invictuz4803 Рік тому +1

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

  • @Blitzloki
    @Blitzloki Рік тому

    I definitely enjoyed your journey in creating this awesome SaaS

  • @chrislyonm
    @chrislyonm Рік тому

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

  • @siruitao
    @siruitao Рік тому +1

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

  • @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!

  • @akhilbisht798
    @akhilbisht798 Рік тому

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

  • @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.

  • @yankhonski
    @yankhonski Рік тому

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

  • @SnehilCodes
    @SnehilCodes Рік тому +5

    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!

  • @jakemorales7949
    @jakemorales7949 Рік тому

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

  • @prathameshjoshi2136
    @prathameshjoshi2136 Рік тому +5

    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!

  • @dawizze1
    @dawizze1 Рік тому

    Absolutely love this kind of content.

  • @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

  • @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.

  • @user-oc6ky2tk5o
    @user-oc6ky2tk5o Рік тому +1

    Thank you, this was really informative !

  • @johnken0
    @johnken0 Рік тому

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

  • @ClashwithMeqiC
    @ClashwithMeqiC Рік тому

    Great vid !
    Loved they architecture style

  • @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.

  • @hazema.6150
    @hazema.6150 Рік тому

    Thanks for the experience sharing. All the best.

  • @ranjithragul
    @ranjithragul 11 місяців тому

    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.

  • @compton8301
    @compton8301 Рік тому

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

  • @johnsimon8158
    @johnsimon8158 Рік тому

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

  • @LeoLeung.93
    @LeoLeung.93 Рік тому +3

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

  • @srinadhp
    @srinadhp Рік тому

    Very interesting to walk through the journey!

  • @beaconbecay1648
    @beaconbecay1648 Рік тому

    Cool architectural video. Hoping for more in the future.

  • @dansteryoo
    @dansteryoo Рік тому +1

    def more real world tech problem solutions.. thanks!

  • @chaitanyatirki4711
    @chaitanyatirki4711 Рік тому

    Amazing explanation
    Enjoyed the video

  • @ayomikunogunjuyigbe1286
    @ayomikunogunjuyigbe1286 Рік тому

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

  • @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.

  • @noahguale1083
    @noahguale1083 Рік тому

    Keep up with these type of videos!

  • @uditsharma5688
    @uditsharma5688 Рік тому

    Wow! that was one detailed video about the neetcodeio.

  • @_briantravis
    @_briantravis 8 місяців тому

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

  • @timothytanner29
    @timothytanner29 Рік тому

    Enjoyed this thanks for posting

  • @sakshamkumar9191
    @sakshamkumar9191 Рік тому

    Great Content, keep it up!!

  • @BobbyMully
    @BobbyMully Рік тому

    just went lifetime. Best videos on coding questions hands down

  • @hoyinli7462
    @hoyinli7462 Рік тому

    love system design type content! support!

  • @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.

  • @guillaume5623
    @guillaume5623 Рік тому

    Great content ! Thank you !!!

  • @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.

  • @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.

  • @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.

  • @rsKayiira
    @rsKayiira Рік тому

    great video!!

  • @GreenSoap
    @GreenSoap Рік тому

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

  • @aly3614
    @aly3614 Рік тому

    Awesome content! When would the lifetime acess promo end?

  • @gunahawk6893
    @gunahawk6893 Рік тому

    Happy for you man

  • @TheCodeDealer
    @TheCodeDealer Рік тому

    New Here, thanks for this video.

  • @prodsefv
    @prodsefv Рік тому

    i like how neet can be easy to understand

  • @estifanosbireda1892
    @estifanosbireda1892 Рік тому +1

    yeah, plz do keep it up!

  • @theenilenation
    @theenilenation Рік тому

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

  • @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.

  • @posthocprior
    @posthocprior Рік тому

    That was really helpful.

  • @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!

  • @nebiyuelias1
    @nebiyuelias1 Рік тому +2

    I wasn't expecting this from a Google engineer.

  • @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?

  • @sdaiwepm
    @sdaiwepm 7 місяців тому

    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?

  • @onuricen2624
    @onuricen2624 Рік тому

    Amazing insights

  • @shadon_official2510
    @shadon_official2510 Рік тому

    Amazing stuff

  • @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.

  • @ijasdeen3809
    @ijasdeen3809 Рік тому

    I love the way you speak dude

  • @0lange
    @0lange Рік тому

    Sorry beginner here, what do you mean by "create a rest API with express and containerzise it with docker"? Im just learning node and express myself and it would be great if you could explain the bigger picture of how dockers fits in with all these technology.

  • @s8x.
    @s8x. Рік тому

    how do u style your components and make your own images and icons? what software do u use?

  • @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.

  • @dumdumbringgumgum2940
    @dumdumbringgumgum2940 Рік тому

    waiting for the system design course 🔥🔥🔥

  • @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.

  • @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.

  • @DAIS_Shujaathullakhan
    @DAIS_Shujaathullakhan Рік тому

    How did u map those problems to leetcode website I'm sure u didn't hardcode it, and how are storing and rendering code samples

  • @patel5532
    @patel5532 Рік тому

    Is there any doubt solving feature in th plateform which will help me if I am stuck in any of your course? i am thinking to purchase life time pack but first I want to know is there any support for doubt solving sir.

  • @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.

  • @jeevisiran21
    @jeevisiran21 Рік тому

    Thank you😀

  • @just_O
    @just_O Рік тому +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

  • @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

  • @master0fnone
    @master0fnone Рік тому

    What books/resources exist where one can learn about piecing all of these parts of the puzzle together?

  • @vasanthkumar3685
    @vasanthkumar3685 Рік тому

    I for sometime thought this is a rant video 😂 😂

  • @yamsi55
    @yamsi55 2 місяці тому

    What js library was used for the graph for the coding roadmap?

  • @innnnhok
    @innnnhok Рік тому

    LOVE❤

  • @dev.rahulgurjar
    @dev.rahulgurjar Рік тому

    Great ❤️

  • @brandonoyama9458
    @brandonoyama9458 Рік тому

    Awesome stuff! How long are you running the 25% discount for? Figuring out finances everyday 😅

  • @saitejanagishetty8075
    @saitejanagishetty8075 Рік тому

    Thanks!

  • @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?

  • @mbaljeetsingh
    @mbaljeetsingh Рік тому

    Hi
    Why didn't you use Firebase stripe extension?

  • @SaceedAbul
    @SaceedAbul Рік тому

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