How akash-kumar-dev/portfolio works
Main Components
• Vite & Build Configuration: Represented by files like vite.config.js, package.json, package-lock.json, and ESLint configuration (.eslintrc.cjs). This is the foundation for the development, bundling, and code quality checks.
• HTML Entry Point: The index.html file, which is the initial static HTML page that loads the React application.
• React Bootstrapping: The src/main.jsx file serves as the entry point for the React application.
• Core Application Component: src/App.jsx, which orchestrates the layout and includes various child components.
• React Components: The src/components directory which includes components such as Navbar, Landing, About, Skills, Projects, Experience, Contact, and Footer. Each of these components also has its own CSS files under src/components/styles.
• Assets: The src/assets directory (including images and company assets) used by the components.
• Configurations & Constants: The src/config directory with constants and placeholders which feed configuration data (e.g., experience constants, social links).
Relationships and Interactions
• The index.html loads the bundled application, which is initiated by src/main.jsx.
• The main.jsx renders the root React element, which is the App component.
• Each component may further import specific styling from the src/components/styles subfolder, and their functionality may be influenced by configuration data (from src/config).
• The Vite configuration and package scripts are used during development and build time, influencing how files are bundled and served.
Architectural Patterns and Design Principles
• Component-Based Architecture: Clearly separate each UI element into distinct components, as seen in the src/components directory.
• Separation of Concerns: Configuration (src/config) and styling (src/components/styles) are managed in separate folders supporting cleaner, more manageable code.
• Fast Refresh and Modular Build: The use of Vite (with official React plugins) and ESLint represents modern web development practices focused on rapid development and quality control.
Relevant Technologies and Frameworks
• React for building the UI.
• Vite as the build tool to support fast hot module replacement.
• Babel or SWC (as indicated in the README) for handling transformations in the development environment.
• ESLint for maintaining consistent code quality.
• CSS modules and possibly asset management strategies for images/logos.