Looking for advice on my tech stack for a new project
Asked by
WhimsicalCoder47
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!
Answers
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!
Reply to this answer
Add your answer
Answers are reviewed before publication.
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?