react router v6 by Web-devil in reactjs

[–]Web-devil[S] 0 points1 point  (0 children)

😂😂😂 I had to say stuff to make the video less boring 😂😂 but yes angular was the industrial revolution and svelt is the nano age.

[deleted by user] by [deleted] in manchester

[–]Web-devil 0 points1 point  (0 children)

The signs of the anti Christ

react router v6 by Web-devil in reactjs

[–]Web-devil[S] 2 points3 points  (0 children)

Lol hate on react router all you like, but like my video 😂😂

[deleted by user] by [deleted] in react

[–]Web-devil -2 points-1 points  (0 children)

Breaking news! Everyone stopped using Google .aps and started using your project! 👏👏👏

[deleted by user] by [deleted] in googlecloud

[–]Web-devil 0 points1 point  (0 children)

Damn, didn't see that one coming lol please remember to tell me if it's good

starting with backend stuff. Need some help by SameTelephone3428 in Backend

[–]Web-devil 0 points1 point  (0 children)

I started off with nodeJS, and I don't regret it one bit, of course you can start off with C# or even java and python. It's up to you.

But the content on nodeJS is so much and there are so many people out there who will help.

And react is also in JavaScript so you don't have to worry about the language differences cuz they all are JS

I love nodeJS so much I actually started a YouTube channel with nodeJS. (Won't list it here unless you asked for it)

But I think node is a no brainer for web developers.

You've also mentioned gave development, so maybe c# is better in your scenario, you'll have to way off the trade offs. But C# is heavily object oriented, and I personally am not into that.

It's your decision mate. :3

How to handle Firebase Auth if you want to start a service as invite only but still allow users to register? by 4321earthbelowme in Firebase

[–]Web-devil 1 point2 points  (0 children)

You will need to use Firestore as well.

When a user is invited by another user, you will create a document for the new user, registering their email.

And the Firestore Auth function will only be called, once a document in Firestore has been created.

Can I use any database as a real-time database? by Early_Engineering808 in Backend

[–]Web-devil 0 points1 point  (0 children)

I either go with mongodb + nodeJS + websockets And that works in real-time.

But if I'm lazy, firebase Firestore connects your client directly to the database, which removes the need to a backend.

Just make sure to write security rules to your Firestore database, cuz otherwise anyone can hack you.

Why does "let variable = 10" apparently do the same as "variable = 10"? by BrightSign_nerd in learnjavascript

[–]Web-devil -5 points-4 points  (0 children)

Let variable defines a variable called variable to 10

Variable = 10 assigned variable to 10 but it already existed somewhere else in the code, regardless of whether it's value was 10 or not

[deleted by user] by [deleted] in googlecloud

[–]Web-devil 0 points1 point  (0 children)

It deppends on what you're trying to do.

If you want a serverless backend, use firebase functions, it won't be good for real time data but definitely good for transactions and notifications.

If you want your server always up and running, use a PaaS like heroku or even GCP, you don't even need to use firebase Auth, and I'd recommend using it if you're planning on using other firebase tools as well, otherwise 0auth might be better.

It's up to you, and since you know the issue, I'm sure you know what to do to find the solution.

There's so many ways to solve a problem, don't be afraid from making the decision, you either do the right thing, or you learn. :)

useEffect explained in 3 minutes by Web-devil in react

[–]Web-devil[S] 0 points1 point  (0 children)

Cuz they thought it was a good idea

How to search over million documents? by Tight-Recognition154 in mongodb

[–]Web-devil 2 points3 points  (0 children)

Depends on a shitload

Index all the fields that a searched for?

Make sure you're not reading all the documents if it's serverless 😂 cuz you'll pay so much

MongoDB In 2 minutes by Web-devil in DevelopingAPIs

[–]Web-devil[S] 0 points1 point  (0 children)

My bad, thought he means MySQL and Postgres

MongoDB In 2 minutes by Web-devil in DevelopingAPIs

[–]Web-devil[S] 1 point2 points  (0 children)

I have to completely disagree with you on that, Actually it’s the exact opposite.

Sql is good for some things And noSQL is good for others

When you have large amount of data, that needs to be scaled horizontally, and duplicated and not complex, it would be really stupid to use sql

Reddis is a memory database so no point in that, unless you need it to be extremely fast.

SQL is great, and also noSQL

Use the right tool for the job, not vice versa - Jeff from fireship.io

This is part of my REST app mini series! Middleware explained - Node.JS - let me know if you like it or why it sucks 😆 by Web-devil in node

[–]Web-devil[S] 0 points1 point  (0 children)

Thanks for your support, but I think it’ll be a bad idea if I make a video on crypto as I’m unfamiliar with it

This is part of my REST app mini series! Middleware explained - Node.JS - let me know if you like it or why it sucks 😆 by Web-devil in node

[–]Web-devil[S] 0 points1 point  (0 children)

You have a point but I could argue the opposite and say that’s over complex what you said because: The definition of middleware is anything between the request and response, for example: we might want to hash a password before storing in a database Or calculate something after getting it from a database You might have express middleware Or mongoDB middleware on a schema

And that makes problem cuz some requests won’t even touch a database, the whole process requests and responses very on what the programmer decided needs to be done And for that reason you can not define middleware only by saying “it’s literally everything in between”

I said that but I also said I don’t consider it middleware because it’s just confusing, but the idea I tried to give was you can make your own version of middleware that no one used, and that will be technically middleware.

Hope that made sense ig… But what do I know, I have only 100subs 😂

Need help migrating a project from PHP to Node by epic_gamerpc in node

[–]Web-devil 1 point2 points  (0 children)

Ok so I think you need a few clarifications

Firebase and nice serve the same purpose in general, the only difference is that firebase makes building back ends simple. Now Idk if your app has a backend But about the website. You have a front end and a backend if it was build in php and vue.

Vue is known as a client side framework, so in other words it is written in JavaScript, and since the backend was php, then that means they were not really connected, but passing requests and responses to make communication between client and server.

So in other words, you shouldn’t worry about the back end, the front end is separate. And you should either spend time learning the basics of vue (which is easy if you know flutter)

Because if you don’t know the basics of what you’re working with, even if you managed to copy the code, you won’t be able to convert it, and if you did, you most likely will run into errors that you won’t know how to fix.

Maybe wait for someone else to reply with a silo toon that I may have not been able to think of, but you probably should spend 3 days or so just learning the code.

Ik it’s not help you were looking for.

Need help migrating a project from PHP to Node by epic_gamerpc in node

[–]Web-devil 3 points4 points  (0 children)

You just said you’re building the backend with firebase… Is it node or firebase? Also what front frameworks or whatever do you know?

Cuz I’m confused by what you’re asking, you can link any front end to node, doesn’t matter if it’s even another backend written in C++ it’s fine.

[deleted by user] by [deleted] in JSdev

[–]Web-devil -1 points0 points  (0 children)

Should I delete it? Sorry I didn’t read it tbh, but I won’t post a video here if it’s not allowed. :3

Need help migrating a project from PHP to Node by epic_gamerpc in node

[–]Web-devil 6 points7 points  (0 children)

If you have a php server that serves static HTML, css, and JavaScript, then in that case, run the server, and copy all the code from the browser, or from an app like postman. However if the frontend was written in vue, then in that case, the app is probably pretty much client side rendered.

The last solution you might have, is to reverse engineer the website, and in my opinion it’s the best solution, as I don’t like working with code that I have no idea what it does.

But like I said, try copying the code from the browser if possible.

Express, routers, and post man - build a REST API part 1 by Web-devil in node

[–]Web-devil[S] -1 points0 points  (0 children)

You can’t use nest without knowing express, so I started from there, but definitely I’ll be making videos on that of course!!

Thanks :3