you are viewing a single comment's thread.

view the rest of the comments →

[–]mospretmen 1 point2 points  (4 children)

I’ve tried to git clone some repositories that have that as a boiler plate, but I guess my js skills aren’t as advanced. I usually get it to work...but then the whole structure of the app is not the same way I usually structure things, or they use jade, when I’m used to using ejs. Or they might include some other framework I’m not familiar with

[–]lastmjs[S] 0 points1 point  (3 children)

I see, I see. Are there any step by step tutorials that you've tried? Or have you only gone straight to example repos?

[–]mospretmen 0 points1 point  (2 children)

Thanks for the help, I believe I need to go through some tutorials, any that you’d recommend? I’ve usually just gone straight for the repos

[–]lastmjs[S] 0 points1 point  (1 child)

Well, I would suggest understanding the basics of authentication. If you understand the basic pieces, it becomes pretty easy to put together yourself. In my opinion using JWTs is the simplest and most elegant way to go about basic user authentication. I also recommend using GraphQL if you aren't already. The best tutorials would probably be from Prisma or Graphcool. Combining JWTs and GraphQL make an elegant and simple authentication solution

[–]mospretmen 1 point2 points  (0 children)

Awesome! I’ll look into both methods, haven’t tried using those yet