billychen0894 / florist-ecommerce-app

Florist eCommerce App built with Next.js 14
https://florist-ecommerce-app.vercel.app
0 stars 0 forks source link

Refactoring/Enhancement: Project Layout #79

Open billychen0894 opened 7 months ago

billychen0894 commented 7 months ago

Overview

Details

Implementation Checklist

Disclaimer

This issue is used for tracking purposes and to document the progress and improvements made to the project. It will remain open to allow easy access and visibility of the ongoing enhancements/refactoring efforts. Comments in this issue will be updated regularly to reflect progress and any additional improvements.

billychen0894 commented 7 months ago

Task 1 & 2: Categorize Routes and Move Relevant files to Categorized Routes

The project routes can be easily categorized into store and admin route groups.

To organize project files, (store) and (admin) directory under /app directory were created. And, this is called route groups, which is one of the features provided by Next.js to organize project files without disrupting your routes of the app. After moving related files to (store) and (admin), the project files are easier to locate, which enhances developer experience while they are navigating through files as project grows.

Related Commits

c44b6e0