Getting Started
Project Concept
This project is a modern web application built with React and Next.js, designed to provide a scalable and maintainable structure for developers. The goal is to create a well-organized codebase that allows for easy addition of new features and efficient code management.
Layer Structure
The project is structured into the following layers:
src
: The root directory of the project, containing the source code and configuration files.src/components
: Contains reusable React components.src/base
: Contains base configuration and global styles.src/modules
: Contains feature-based modules.src/services
: Contains API and business logic services.src/libs
: Contains utility functions and helper functions.src/views
: Contains main views, layouts, and context providers.src/app
: Contains the main application logic and routing (Next.js App Router).src/pages
: Contains pages for routing (Next.js Pages Router).
Folder Structure
The project is organized into the following folders:
src/
├── app/ # App directory (Next.js App Router) and main application logic
├── pages/ # Pages directory (Next.js Pages Router)
├── components/ # Reusable components
├── base/ # Base Configuration
├── modules/ # Feature-based modules
├── services/ # API and business logic services
├── libs/ # Utility functions and helpers
├── views/ # Main views, layouts, and context providers
└── libs/ # Utility functions and helpers