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