CodersCrew / akademia-skateboardingu

MIT License
0 stars 0 forks source link

Create a Next.js project #2

Open magda-42 opened 9 months ago

magda-42 commented 9 months ago

Suggest/prepare a directory structure (basic one for the beginning) Note that Next.js has a convention to name routes for API

magda-42 commented 9 months ago

I think we might add directories for components (fontend), styles (fc), controllers (be), services(be). And create main directories to separate backend and frontend

AnnaRaczy commented 9 months ago

Directories: frontend - src folder backend - server folder

Components will be under src\components path. Each folder in components will contain specific component file, its css file plus test file.
Folder 'styles' contains all common css files. Folder 'server' comprises files: config, controllers, middlewares, models, routes, services, tests, utils.