Video Thumbnail

a weekend in the life of a NYC software engineer (coding vlog)

2 to 300's just an extension on top of create page det yo. All right we are on our way down to soho to go check out a new co-working cafe somewhere that allows laptops cuz today we're continuing work on the payments integration for the fullstack application to go alongside my discord and speaking of the discord i'm not going to lie i've been getting a little bit concerned i said that i was going to launch this thing at 30k subs but every day we're growing by like. 2 to 300 subs. So i'm not going to lie i'm getting a little bit concerned cuz it's making the build super like i've got to get it done who knows i might have to like delay it a little bit but we will find out i'm trying to stick on schedule otherwise priority right now is to go get to a laptop cafe let's get .

started all right this should be good got this little view front and center. So what i've been working on over the past few days especially has been this like payments integration with my discord because when i want to launch this discord i want to have this app that goes alongside it that offers this like extra functionality to all you guys and so for me the biggest part has just been kind of like automating all the little things like automatic roll assignment and invitations and ensuring that if people buy this and they get that and if they get this they get that there so many different moving parts so it's been like quite a crazy process and in the meantime i've been battling trying to like not look at a subscriber count the closer this gets to 30k the more work that i have to do because i need to get this launch so there is a potential chance that i have to delay this discord launch slightly but that's okay this morning what we're going to be doing is jumping straight into the code base and i'm going to be fixing up this little integration here where i've got an automatic discord invitation that goes out after they complete an action so we're going to be connecting that up it's also going to then understand as soon as the user is actually added to the guild so the discord server they're going to be assigned certain roles which is really cool and also another thing to note that i forgot to mention in one of my last videos as well is anyone that joins the discord as well i'm going to be on the lookout for really good high quality mods so if you want to be a mod it's in your best interest to stand out in the discord provide like other value to other developers. So. Yeah the goal is to make it just like the sickest developer discord on earth. So i know a few of you have been commenting down below asking how do i actually set up nest and how does it actually work so essentially the way that it works it's kind of like broken down into multiple different modules you've got my front end application and you've got my backend application and the way that a back end application works is essentially a front is just making queries. And then it's returning data kind of as simple as that now as far as nest it's just an extension on top of express that just like gives it a whole lot of superpowers and the main way to think about it is that it's broken down once again into little buckets and i might have things such as my users my pages my repositories for example for the like github tool that i was building a few weeks back and these are different things that someone can call and receive different data from and essentially these little boxes are just broken down into three little pieces one being a controller which is you where you get all your like get in points and post in points then you've also got a service which actually does all the business logic so the controller then talks to the service and then you've got a main module that kind of like holds both of those together so there's three things within one box and each of these things so the users the pages the repositories they have all three of these things a controller a service and a module now what i normally do is i'l break it down into different folders. So if we break it down in this example right here you can see i have my source folder which has is or library public and utility and i just break down my end points based on kind of what the main topic is and for this example you can see i've got a public folder which has my page subscriptions and users endpoints and inside each of these you can see inside the page we've got a controller a service and a module here's an example of what the page controller might look like you'l have multiple different endpoints that do different things so you can see get all pages or get page by id get page to edit and each of these endpoints are just talking to the page service so we jump into the page service and as you can see we've got our get page to edit service function that has been called by one of the endpoints up there. And that's going to take in a user id a page slug. And it's going to do a whole lot of business logic talking with my database and a few other cool things what's really cool is inside my public folder i've got these main endpoints. But they can also talk to my utility endpoints so for example with discord and with strip other thing as well that you guys have been asking i've seen it in the comments what the heck is a dto folder well inside your controller and service you're going to want very nicely typed data and so dt's are essentially just a really fancy way of defining an interface for what data structures look like so for example we'l have create page gto and all this is doing is essentially it's saying for the body object that comes in on the create page endpoint we're going to define a slug which is a string and a user id which is a string and what this means is that when i'm generating types to my front end application it knows very type safely that it requires a slug and a user id which are both stct so there's no way to get the types wrong that's essentially what dto is doing and you can use dto for the return object for the body object. So. Yeah as you can see that's kind of like the 10-second breakdown of nest and how you can build beautiful scalable crud end points for your backend and connected to your database and then generate beautiful types to your front end that's what i use all day every day. And i think it's one of the coolest setups ever hope that ansers some of your questions and i know that it was only a very brief version. But i got to get some work done so let's get to . It. something that i do want to talk about a little bit is focus once again obviously if you've been watching me over the past month or so you would have seen that there's been a couple projects that i've been working on one of them being a repo bear which was a repository sharing tool for developers so if you had a private github repository and you wanted to like share a link to an unknown amount of people or like you were sharing up with a recruiter or someone that you're applying for a job to and you a to share code without allowing them to like clone the repository that was a project i was working on what was really cool.

Is we got like hundreds and hundreds and hundreds of weit listers got people who like pre-ordered it paid for their first year up front really cool. So had that money sitting in stripe. So. Yeah as a developer really cool for me to see because then it's like great that's validation that people actually want this they've actually paid money really awesome what i have realized in the meantime is that there is a different application which is the one i'm building right now which actually in the end would make so much more sense based on my current position living in new york but what i've recently realized is working all day every day on something you realize how much complexity is involved that you still haven't even touched just yet that's when i realized that the current application of repo bear was actually going to be far more complex than i originally realized now that doesn't say that i can't do it absolutely i can do it's just opportunity cost based on other things that i'm really excited about doing and that i want to get done for example i really want to launch this developer. Discord it's something that i've been wanting to do for a really long time just been waiting for like kind of like the right moment to do it the way that i want to do it there's a very certain kind of particular way that i want to like manage users and manage access and do all that kind of stuff. And that's the application that i'm building right now it's to kind of do all that so that i can ensure that i can launch this discord community. And it's going to be really cool for you guys especially but what i realized in building that was that there's actually an opportunity here for me to allow you guys to also take part in this application that i'm building and the utility service that it really is. And so that's when i was like hang on a second i could actually launch this as an individual product but that means i've got to like cut down somewhere else where it's taking all my energy all my mental energy my physical energy all my time developing and that's what's happened with repar.

So what i actually did as of last night is i made a really hard decision over the past few weeks i've been really thinking about it. And i've actually gone ahead and refunded every single person that pre-ordered rer bear now that's not to say that i don't ever build it. But it's just to say for now out of respect for those people that really supported the project and we're like. Yeah we're going to like show that we want this and we're going to pay for it i just wanted to out of respect refund those people so if you're one of them thank you so much for your support but i have refunded you if i ever do build it. I will just honor those people that paid for it and still give you your first year for free. Anyway i think it's the right thing to do refund because i'm not prioritizing it right now.

And instead i'm prioritizing this project so my plan is over the next week we're going to hit probably 30k subs. And i'm meant to be launching this discord. But i think i might have to delay slightly if i still haven't quite finish the integration with discord and stripe and all the different things that i'm trying to do for this discord launch that's a plan i also want to reveal to you guys the product of what i've been working on and how you can use it and how it's going to just like the only thing that i can really say right now is that it's just going to be the easiest and coolest way for you no matter what nich you're in to create a paid community but like next level making things so simple so fast so easy beautiful clean modular way for you as a creator or just like a person of influence to create a very deeply connected community in like a second as you can imagine there's a lot of complexity that goes into that in like a technical aspect so that's what i've been focusing a lot of my time on i'm going to head home now going to meet up with m and hermy i think we're going to go to central park today because the weather is getting warm. But then we're going to continue the build later on as well because there is still a lot to do because i think we're like almost at 30k subs. Yeah we're at 295,000 subs and like last night i went to bed. And it was like 29.2. So. Yeah going absolutely insane thank you guys so much for supporting the channel if you're you around here. I'm jacob. I'm a developer in new york city and we build project that's the vibe that's what we do hope you enjoy it subscribe. Let's go h do you want to go to central park super warm outside today. So we're heading to central park also her's first time at central park ever that com. . . . Hey. all right we're back from the park hery is exhausted maddy's editing the video that you're currently watching right now.

And i'm about to explain to you how in broad terms my application actually works user comes in to your page there's an offer for them to sign up to your discord or whatever this thing is and they're going to click a button which is going to take them into a payment portal right here which is going to integrate with stripe and then once they successfully go through stripes thing going to send a web hook to my back end my backend is going to go hm. Okay. What can this user have and they might send the user a link to a discord they might send the link or if the user's already in the discord they might give them some roles or whatever they're going to do following that if a user stops paying for the subscription then what's going to happen is it's going to send another web hook to my backend which is going to tell discord to remove these roles and also remove them from the discord maybe i'm not sure about that part just yet. But they're definitely going to remove the roles final part is that you as the person with the page can actually see all the information of all the users that have subscribed in a nice beautiful dashboard so you'l be able to see all that right there and also manage user access assign custom roles all that kind of thing most importantly every everything is handled for you in one easy place and this is where i got the idea from for me starting my server i'm like cool. I want to be able to have like the sickest developer community coming in i want to be able to offer really good value obviously for a small price. But i want to also be able to automatically manage user roles i want to auto invite people to the discord i want to be able to offer different services as well like telegram or slack or all sorts of different other resources that i haven't really been able to find a perfect solution for elsewhere hence why i've been doing this crazy build over the last few weeks after a little bit of thinking and realizing that i've been pushing myself crazy hard this is my stats over the past s days right here.

I think it's going to take a little bit more time just to get this thing perfectly ready for not only my page to go live. But also if you want to start a page as well how you can let yours go live. And i really want to just like make sure everything's perfect not perfect but like decent enough that it's ready to go nothing's going to break maybe i'l be extending until i'm at like 31 32 maybe 35,000 subs but most importantly i only really want to delay by a couple of weeks. But we'l see i'm working really hard to get this out to you guys i've still got more work to do it's also really important to me that when i launch this discord. It's really good quality for you guys especially when it first launches i want to be really active in there talking with you guys any questions when it comes to like development and working in like engineering style jobs and projects you're working on my priority is that you guys feel like listen to you're given answers and you know there's people that come around each other and kind of just like build this sick community of divs who are just really they're just interested in building and that's kind of the dream people. So i would say when this does drop and the discord is available for you guys to jump into if you're not really interested in development or building you don't necessarily have to be a coder. But if you're not interested in building stuff this might not be the right place for you because i'm really going to be pushing like bittering yourself building really cool stuff improving your skills helping others getting excited about cool tech and like you know who knows startups could be built from within this community that would be actually a sick output if you are interested in building and you love just like getting deep and to all this stuff and even if you're just like in product or you're in design or whatever you're in this is just a place for builders exciting times for sure still a ton of work to do i need to finish this entire flow i need to get those payment end points finished i need to get. Oh. And that's the other thing as well my's been going nuts designing the frontend ui for how the initial sign up flow for this app is going to work so you guys will come in you'l sign up you'l be able to go through this like beautiful wizard essentially to create your own page for creating an amazing membership community so we've just been fig figuring out that ux flow then we've got to do the entire like ui and make sure it's like just you know still a lot to do we're getting there 30k subs would be amazing if i can launch it. I don't know at the rate you guys are subscribing i don't know if i'm going to be able to i'm going to keep working this afternoon m's going to keep editing this video that you're watching right now. And we're going to keep moving let's see let's see how close we can get to 30k subs. . . Anyway. . wa look at that nutritious .

👇 Give it a try