Post

fidexCode
fidexCode@fidexcode·
When building a full-stack project, is it best to keep both frontend and backend in the same repository or in separate repositories?
fidexCode tweet mediafidexCode tweet media
English
196
19
544
59.1K
M . Nabi
M . Nabi@mdnabihotaki·
@fidexcode Short answer: It doesn't matter that much. There’s no single “best” choice, it depends on team size, project scale, and deployment style.
English
5
2
90
6.1K
Olori Kendrick
Olori Kendrick@OloriKendrick·
@fidexcode Separate I don't need to be looking at potential merge issues because a frontend dev fixed a button
English
7
0
69
5.4K
Adools
Adools@Adools110·
@fidexcode It actually depends on the size of the project If you need simple and fast choose Monorepo and if you need scalability choose Polyrepo
English
1
2
26
4.6K
Esther🌚
Esther🌚@esteelaude89670·
@fidexcode From what I’ve learned so far, separate repositories help keep things clearer as projects scale. Still learning tho, open to other perspectives.
English
1
0
7
3.5K
NIYAZ
NIYAZ@niyaazshaikhh·
@fidexcode how many times will you post the same thing, bro ?
English
1
0
7
2.2K
Ibrahim
Ibrahim@theproductguyy·
@fidexcode Keep it separately E get why
English
1
0
4
4.1K
Aliaksandr Valialkin
Aliaksandr Valialkin@valyala·
@fidexcode It is better from maintainability PoV to keep the backend and the frontend code in the same repository. This simplifies making atomic commits, which change simultaneously the backend and the frontent and do not leave the repository in a broken state.
English
0
0
5
568
Hamzé 🦀
Hamzé 🦀@Hamzeml·
@fidexcode For me, a repository and, in general, any architectural design should reflect your development organization. If you have front-end and back-end development with different teams or clearly defined tasks between even just two engineers: so two repositories.
English
0
0
4
1.5K
Neha
Neha@neha_d4·
@fidexcode I think there is no best choice it all depend For small projects, same repo works. For large scale projects or teams, separate repos are better for modularity and independent deployments.
English
0
0
2
67
Kamina
Kamina@kaminadev_·
@fidexcode Better if separate. It's always cleaner and easier to manage. Also, if you want to assign someone to work only in Frontend/Backend, it will be straightforward to give them access without providing access to the other one.
English
0
0
4
352
Ikechi
Ikechi@ikechi0x1·
@fidexcode To have an opinion you can trust, actually build something. Unless of course you're trying to get engagement - which is fine.
English
0
0
2
472
Yash Solanki
Yash Solanki@YashSolanki_·
@fidexcode Have a separate folder structure and use monorepo setup if you/your team are working on the same stack and are a few-member team, but the team wants flexibility, then separate repos are better for different languages.
English
0
0
2
436
Jaspreet Kaur
Jaspreet Kaur@jaspreetkaur96·
@fidexcode Start with monorepo: easier to split later than merge. Small team? Faster iteration & atomic commits. Scaling? Split when needed. But if separate devs and larger teams: separate works better
English
0
0
1
24
Kevin Weitgenant
Kevin Weitgenant@KevinWeitgenant·
@fidexcode Next.js, I guess, recommends keeping everything in the same directory, but I use it only as a static frontend, with no serverless functions. My backend lives in a separate folder, usually in FastAPI, which I really like
English
0
0
1
193
Paylaş