112-1-Database-Management-Final-Project / ntu-book

A online platform designed for the second-hand books market at NTU
0 stars 7 forks source link

Backend folder naming #46

Closed yenting-biao closed 11 months ago

yenting-biao commented 11 months ago

Should we rename our backend folder from src/backend to backend? The src folder seems useless.

togimoto commented 11 months ago

On the contrary, I think Frontend/ should be placed under src/. Additionally, it should be renamed to frontend/ since it is the only out-of-place capitalized identifier in the repository.

yenting-biao commented 11 months ago

On the contrary, I think Frontend/ should be placed under src/. Additionally, it should be renamed to frontend/ since it is the only out-of-place capitalized identifier in the repository.

But there will be two src in the frontend path, eg. src/frontend/src/..., which is weird. In Next.js, there are other files in the same level with src directory. You can check the directory structure of the reference code of Web Programming, 112-1-unit2-simple-chat-room, the Next.js server and the Express.js server is in two different folders, web and server, rather than put all the code under src/.

togimoto commented 11 months ago

You are right. We can unpack backend/src/. I still think Frontend/ should be changed to frontend/.

yenting-biao commented 11 months ago

y @ZaiKuku