You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
components - This folder will contain all the components used in the project. We can also group components inside of this folder by the related sections.
pages - Default and provided by Next JS
public - Default and provided by Next JS
styles - This folder will be used to hold any global custom styles for the project
util - This folder will be used to hold any helper functions, methods, utilities, etc that support the project.
mock - This folder will be used to hold any mock data we will need to use in the project. E.g hold sample data for the UI before any API is ready to provide data.
tests - This folder will have folders containing different types of tests. Eg a folder for e2e tests, unit tests and integration tests.
Anyone is welcome to comment, give feedback and suggest improvements and/or provide alternatives.
Activity
lekipising commentedon Jun 16, 2022
I agree with this.
I would like to propose the following structure.
components- This folder will contain all the components used in the project. We can also group components inside of this folder by the related sections.pages- Default and provided by Next JSpublic- Default and provided by Next JSstyles- This folder will be used to hold any global custom styles for the projectutil- This folder will be used to hold any helper functions, methods, utilities, etc that support the project.mock- This folder will be used to hold any mock data we will need to use in the project. E.g hold sample data for the UI before any API is ready to provide data.tests- This folder will have folders containing different types of tests. Eg a folder for e2e tests, unit tests and integration tests.Anyone is welcome to comment, give feedback and suggest improvements and/or provide alternatives.
lekipising commentedon Jun 17, 2022
The structure looks good.
kevinsshikuku commentedon Jun 17, 2022
This seems reasonable, we can adopt this