₹Δฤↁ໑ლ ☣ Ǥປץ
Explore posts from serversTTCTheo's Typesafe Cult
•Created by ₹Δฤↁ໑ლ ☣ Ǥປץ on 10/27/2023 in #questions
Project structure ?
Tl;dr: Company has given me a difficult task that doesn't make sense for a junior, and I have 2 months to prepare. Now I'm working on the project assigned to him (Manager said it's a small project). I planned to use Turborepo; Astro with React and Tailwind for the frontend and Express, trpc for the backend.
I want to know if there's a practical project architecture for this case, and whether should I leave the company?
25 replies
Project structure ?
I greatly appreciate for your insight on this, especially if you're an experienced fullstack dev:
Background:
I'm a junior dev (just a little over 1 yoe), started my job doing everything frontend related for multiple projects (since the "fullstack" devs in team prefer backend/infra/devops work, so naturally I'm the one to handle the frontend), and now, at this point of my career, I'm gradually assigned to the role of a fullstack dev.
The team's dynamic is pretty weird at this point, since all of my (should be) mentors/senior have all left because various reasons, so fwiw, I'm the only one who knows JS/TS for the upcoming project which means I'll be in full responsible for everything in its dev scope.
Now I know that it sounds kinda overwhelming for some guy who only knows frontend like me, but the manager assured that it'll be just a small project (more like an admin monitoring dashboard with simple CRUD operations and some charts, that's what he said 🤷♂️ ), and he's been generously given me a 2-months preparation period (and somewhat allured that if I'm not enough qualified to handle the project, I should be "considering new opportunities" - being laid off if that's what implied).
Now, I've been ramping up the basics of backend development and looking into some recommendations of the most common fullstack TS project architectures, and I've decided to go with this: using Turborepo to manage a monorepo for both the frontend and backend, with the frontend using Astro - React - Tailwind, the backend with Express - Prisma and trpc as the api handler with GitLab CI for the pipeline, and, you know, the usual Docker - k8s for the deployment stuff. And I know it's common sense to include a test suite (with Jest, Playwright, whatever,...) but it seems like my team has been doing well with manual testing, so, we'll skip that for now.
The real question: Is that a practical project architecture for my case, and if not, would you mind suggesting your take on this?
4 replies