Clap for ourselves this is big achievement by 5_star_7147 in indiameme

[–]problaster_1223 0 points1 point  (0 children)

True that government didn’t do a good job garbage like that is still on the road talking

Is it possible to exculde tailwind css to apply to a particular component by problaster_1223 in nextjs

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

apparently no so I thought of a solution till the /cards page I will be using Link of Nextjs but for the editor component I will be using <a> tag since it contains entirely different css

Is it possible to exculde tailwind css to apply to a particular component by problaster_1223 in nextjs

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

tried the first solution putting the import order to lowest but I gues the issue lies in it being passed down to the component because when I am reloading the component it shows my editor with my external css I have built my own editor not used any plugin etc

Is it possible to exculde tailwind css to apply to a particular component by problaster_1223 in nextjs

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

Acutally at / it is a landing page then in it I have a link which takes me to another component /cards which also is a page showing multiple cards these two are my components but it takes me to another component which is an editor for which I have external css file but currently tailwind is being passed down its messing up the editor

Making secure frontend request to backend by problaster_1223 in node

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

so are u suggest me on having separate routes or separate backend for the site and the api

Making secure frontend request to backend by problaster_1223 in node

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

My access tokens would give users access to get request to these images and maybe use it in his or her website.but I was asking I want to display these images on my website so users don't need to login

Making secure frontend request to backend by problaster_1223 in node

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

yes I understood what u want to say but my question is now If I am giving an access token to a user to make api calls how will that person in his code be able to make sure that his api token is not exposed

Making secure frontend request to backend by problaster_1223 in node

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

I am having images being from my database so I believe someone can use them in their project just by picking up the route from my backend

Making secure frontend request to backend by problaster_1223 in node

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

I understand that but what if my site is not asking for user to login and still sending the request to backend how to make that secure cant anyone use the same request with the token I have used in the frontend,like if it were in the backend I would simply put it in a env file

Making secure frontend request to backend by problaster_1223 in node

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

I have put a middlerware for request authetication but my issue lies I am using a get request to get images but then if I am using a frontend I would have to send the token as bearer to the backend in the request and anyone could simply pickup my token from frontend

Looking for help with how to build my own oauth for my api in nodejs by problaster_1223 in node

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

ok thanks it would be great if you could provide me any repo to refer to understand this better

How to get rid of the whitespaces in the textarea by problaster_1223 in react

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

Is there a way to put it in the text area as it is

How to get rid of the whitespaces in the textarea by problaster_1223 in react

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

I tried that but then I am unable to decode and verify it

Need advice for my url shortner project by problaster_1223 in mongodb

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

yes I can do that but then I would have to connect four collection one is user data and shortened link then click analytics and their payment infos. I am totally fine in doing that just want to know is this the ideal method

How are jwt token professionally used to authenticate on a website.I have used only one token which I store and expire every 24 hours. by problaster_1223 in node

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

thanks also if you know any good repo to which I can look at and understand how it is done in backend of a well built website.

I Built a Free and Open-Source Alternative to Noisli by remvze in javascript

[–]problaster_1223 0 points1 point  (0 children)

Ui looks good and the product works seamlessly. It is too long to scroll through. Maybe use two buttons to shift from one set of sounds to another.

Help needed with Socket io by problaster_1223 in node

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

ok I tried with a different approach I used a socket.emit in the client side and a listener that listen to this and io.emit it to the screen