Looking for advice on my tech stack for a new project

0
0
Asked By WhimsicalCoder47 On

Hey everyone! I'm working on a website for a hobby project that my friends and I share, and I'm super excited about it! I've decided on using TypeScript and React for the front end. Now, I need some help figuring out the back end. I've ruled out Python since I'm quite familiar with it already, so I'm going to go with Node.js, specifically Fastify, because I want to learn something new. However, I'm a bit confused about how to structure the project. I'm considering a monorepo with a tool like Lerna, since I believe it can streamline deployment on platforms like Heroku. But does that make sense, or am I better off using two separate repositories? I want to avoid paying for two servers when my app is ready. Any insights would really help!

1 Answer

Answered By DevGuru92 On

Your choice of Node with Fastify and TypeScript sounds solid! I think you’re definitely on the right track by wanting a single server for both your front end and back end. There's really no need for Lerna in your case since you won’t be publishing packages. Keeping it simple will make your life a lot easier!

CuriousDev09 -

Thanks for the reassurance! I wasn't quite sure what Lerna was really for. Should I just set up one folder for the front end and one for the back end instead of separate projects?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.