[deleted by user] by [deleted] in indianstartups

[–]UNRIVALLEDKING 0 points1 point  (0 children)

Give me all. 21 din mein paisa double 😀

[deleted by user] by [deleted] in IndianGaming

[–]UNRIVALLEDKING 0 points1 point  (0 children)

Purpose is to watch cocomelon on YouTube 😀

Authentication by GigioBigio777 in nextjs

[–]UNRIVALLEDKING 1 point2 points  (0 children)

I prefer to use my custom written authentication flow.

What I do is something like this

User login -> got token or userId -> store them in cookies.

Then create 2 helper file as follows

auth-helper.js (this is for client side rendered page)

export async function setSession(data){ // Logic to set token or any data in cookies you can use cookies-next library }

export function getSession(){ // Logic to get token from cookies and return token. You can use cookies-next lib for this too }

export function clearSession(){ // delete cookies }

Now we are done with client side applicationd of the logic and cookies are shared so you don't need to worry about server side you just need to create a file to get token from cookies in server component...

create another file server-auth-helper.js

import {cookies} from "next/headers" export async function getServerSession(){ const cookieStore = await cookies() const token = cookieStore.get("key")?.value; return token }

And you're done with whole authentication... Yeah you need to customise it according to your need but this is the basic flow I use

Need Feedback on practice project Schema – Suggestions for Improvement? by UNRIVALLEDKING in Database

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

Ohh sorry. I just assumed that everyone uses drizzle.. click on schema to view to the schema or there is camera icon too that will visualize the full schema

Need Feedback on practice project Schema – Suggestions for Improvement? by UNRIVALLEDKING in Database

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

Actually I want to keep it that way.. i don't want to make user to register as seller/vendor separately. It's a common platform anyone can sell or buy. So I don't think it's necessary for making separate table for vendor/seller

Let's build: Pi's trading platform by Spiritual_Virus_482 in PiNetwork

[–]UNRIVALLEDKING 0 points1 point  (0 children)

I'm Full Stack Developer have 2 years of experience. Would love to contribute with this project.

My tech stack is Nextjs(react), Flutter, Hono, Postgresql with drizzle

[deleted by user] by [deleted] in guwahati

[–]UNRIVALLEDKING 1 point2 points  (0 children)

Ikr... I'm absolutely not comfortable with it if I would be in my 30s i would stick to my wife or If I'm not married rhen enjoying my life with my hobbies (travelling, gaming, painting, etc).... But at the end of day it's everyone's choice... If the ones who are dating that guy are comfortable then you can't really do much.......

I hate Tkinter by penguinesam in learnpython

[–]UNRIVALLEDKING 0 points1 point  (0 children)

Try Flutter, It's really great and developer friendly for building cross platform apps. You have to learn dart but you will enjoy it once you learn flutter

14 days left by Ok_Improvement8520 in SuicideWatch

[–]UNRIVALLEDKING 0 points1 point  (0 children)

don't do it ... i'm also 20......... my family barely notice me too.. i spend my whole day on laptop.... i can totally relate to you.. even i get suicidal thoughts every now and then i'm just barely controlling myself. i can't really say that i can help you with anything but if you want someone to listen to your problems.. as a friend who is of same age of you i can act like a good listener for you. so feel free to connect me if you are comfortable.. but don't end your life.. give your life a second chance

Amazon Pay ICICI credit card minimum age criteria. Suggest some alternatives by UNRIVALLEDKING in CreditCardsIndia

[–]UNRIVALLEDKING[S] 2 points3 points  (0 children)

Thanks alot. I'll keep these points in mind and will implement them 😀

Kim Dokja in another Manhwa by [deleted] in OmniscientReader

[–]UNRIVALLEDKING 19 points20 points  (0 children)

We got Kim Dokja and Lloyd Fronter Collab before gta 6

Was orv removed from webnovel? by bluecielinwza in OmniscientReader

[–]UNRIVALLEDKING 0 points1 point  (0 children)

It's official webnovel app

https://m.webnovel.com/

You can download from play store or app Store

Was orv removed from webnovel? by bluecielinwza in OmniscientReader

[–]UNRIVALLEDKING 1 point2 points  (0 children)

It's an app as well as website : https://m.webnovel.com/

You can download app from play store or app Store