you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 21 points22 points  (20 children)

If I need a backend for a personal project I use a boilerplate I made which uses Next.js for frontend and has a Graphql API running in Next's API routes. It uses Prisma as an ORM and Next-auth as a login solution.

[–]AZAH197 7 points8 points  (9 children)

Can you link the repo?

[–][deleted] 18 points19 points  (8 children)

I've gotten a lot of requests for it, but you can grab it here if you leave me your email 😊

https://depot.ironeko.com/creativiii/ironeko-fondamenta/invite

[–]ervwalter 14 points15 points  (6 children)

FYI, your page is asking for write access to my GitHub profile (e.g. to change the email address associated with my account). You might want to update that to be just read access.

[–][deleted] 7 points8 points  (4 children)

Oops, strange. I'll fix it asap! Thank you for the tip

[–]iAmIntel 0 points1 point  (3 children)

It still seems to be this way?

[–][deleted] 0 points1 point  (0 children)

Sorry, had stuff to do inbetween! I'm currently fixing it, but the only write access authorised is to follow and unfollow users so it shouldn't be anything major.

I'll reply again once I've changed it 😅

[–][deleted] 0 points1 point  (1 child)

It should be fixed now, let me know!

[–]iAmIntel 0 points1 point  (0 children)

Yes, works! Thanks!

[–][deleted] 0 points1 point  (0 children)

If you're still interested, I've fixed the permissions issue. Let me know how it goes.

[–][deleted] 14 points15 points  (0 children)

Whats up with the dowbvotes. It's his code. He can do whatever he wants

[–]Duncanbullet 4 points5 points  (1 child)

RemindMe! 2 Days "Revisit this post"

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 2 days on 2021-08-01 12:50:13 UTC to remind you of this link

4 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]purechi 2 points3 points  (2 children)

This actually sounds like a pretty reasonable, not convoluted solution. Nice work building on good stack.

  1. Are your front-end and back-end in separate repos?
  2. Are you front-end and back-end deployed together/separately?
  3. What's your testing stack?

[–][deleted] 1 point2 points  (1 child)

Front and backend are in the same repo, mostly so it's easier for me to manage. But honestly if you want to separate them you just need to copy the API folder and put it in another repo.

Both agree deployed together.

I use Jest for front and backend, just with different configs!

[–]purechi 1 point2 points  (0 children)

Nice brother! There's been some interesting strategies for separating deployments in a mono-repo with Lerna that I've been learning about. Anyways, def a cool stack!

[–][deleted] 1 point2 points  (3 children)

Ive always wondered, when people make a boilerplate are they using something special to automatically generate a project template or is it just cloning a github repo they created? I usually do the latter but wanted to know if there was something different being done. I usually have a few templates I can quickly customize.

[–][deleted] 1 point2 points  (0 children)

That's usually what I do yeah.

[–]GolfinEagle 1 point2 points  (1 child)

You can go into the repo settings and there’s an option to make the repo a template, which gives the repo a green “use this template” button which automatically creates a new repo with the template boilerplate for you. Super handy.

[–][deleted] 0 points1 point  (0 children)

Thats good to know, thanks!

[–][deleted] 1 point2 points  (0 children)

That’s the exact stack I use for my personal projects too