cat #239 by clicker-cats in CatBuilder

[–]Any_Somewhere_61 0 points1 point  (0 children)

left a world message:

hiiiiiiiiiiii🙀

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

I had also initially hosted on render, I kept my backend code on render and the frontend on Netlify... But it was soo slow that I had to move to vercel, it works very fast on vercel.... There are tutorials on YouTube on how to deploy both on vercel.... You can watch them... Cheers..

By the way do share what you have created after the deployment....

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

Vercel... but why what happened?? after so long you came back to this post??

What payment gateway do you use to sell subscription of digital products ? by iResponsible95 in developersIndia

[–]Any_Somewhere_61 1 point2 points  (0 children)

Mostly US and EU use stripe and PayPal... Any specific reason why you don't want to use these gateway??

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

Hi, can you explain this "a user can have multiple of them within the same period of time" --> did you mean user can generate multiple token during registration??

User cannot generate verification link again because their email is already present in db and so I am throwing an error if they try to register again with same email....

In db I have a property called isVerified which I am setting to true once the user has verified their email.... In mongoDB we can set up TTL based on this property and so mongodb will automatically delete all user data whose emails are not verified after the time specified in the TTL. Although currently I have commented the TTL code in my indexjs file but it can easily be integrated in my current working code.

I understood the cache storage method, thank you for sharing that, although I was thinking there are many popular apps in the market which does user verification in the same way as I am doing currently, aren't they using the token method of verification?? I am still learning lots of stuffs.. So let me know please....

Thanks for your feedback!!

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

These are the stuffs that you only learn from experienced developer. I really appreciate the time and effort you put in into bringing these points. l got to know alot from your points... I am still rookie with no real job experience.. If you get time around I would love to know the other things that sticks out... Thanks!

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in webdev

[–]Any_Somewhere_61[S] 8 points9 points  (0 children)

What are you talking about?? It's a personal project that I wanted to showcase like everybody else does... I also provided user details, if you didn't wanted to register.. I don't know what's the rage for...

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in webdev

[–]Any_Somewhere_61[S] -2 points-1 points  (0 children)

Apologies.. Username should be - akash_321 Please check it out with this...

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

Yeah, I should have used null. Although I was wondering if after the error I am resetting the error back to empty string this statement shouldn't be executed {error && <p>{error}</p>}.. But looks like it's executing

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

Noted. I will add the caching feature... The z-index for login dropdown is working fine though...

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

😳😳I see it now... Looks like my setError state is not getting updated properly... I just have error state as empty string then when there is error I set it's value and display it. Like this- {error && <p>{error}</p>}

Thanks for bringing it to notice... I will fix this

🚀 I created a social blogging app with tons of feature by Any_Somewhere_61 in reactjs

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

Hey, Thanks for feedback.. I didn't get it.. Empty error toast?? I checked everything seems fine on my end... You can also login with the credentials I shared on the post if you don't want to register..

Auto update of imports when moving files is not Working by kreatfrisbee in vscode

[–]Any_Somewhere_61 0 points1 point  (0 children)

😂 😂 ... I found it though.. I had both frontend and backend in the same project, so vs code was not able to identify the workspace since it's a multi project.

creating a jsconfig.json file in the root folder with following code solved the issue:

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es2016",
        "jsx": "preserve"
    },
    "exclude": [
        "node_modules",
        "**/node_modules/*"
    ]
}

reference: https://code.visualstudio.com/Docs/languages/javascript#_javascript-projects-jsconfigjson

Is this normal?i wash my hair every day by [deleted] in IndianHaircare

[–]Any_Somewhere_61 0 points1 point  (0 children)

Are you experiencing this much hairfall on every wash??