How bukyajagadishnaik/portfolio works
Main Components
• Frontend Client: Representing the static assets (HTML templates under app/templates, CSS files under app/static/css, JavaScript under app/static/js, and images in app/static/images).
• Flask Backend: Showing the server logic (app/__init__.py, app/routes.py) which handles HTTP requests, routing, and template rendering.
• Static Assets: Separate out the static folder, emphasizing CSS styling, JavaScript interactions, and media files (including the resume in PDF form).
• Database (SQLite): Although not directly visible in the file tree, the README notes SQLite, so include this as a component powering data such as portfolio projects, blog articles, or contact form submissions.
• Deployment: Represent the hosting environment (Render), along with potential version control integration (Git/GitHub).
Relationships and Interactions
• The client (web browser) sends HTTP requests to the Flask backend.
• The backend processes these requests using its routing logic (contained in app/routes.py) and serves appropriate HTML templates.
• Static content is delivered by the backend directly from the app/static directory.
• Data interactions (for example, retrieving portfolio project data or handling form inputs) occur via the SQLite database.
• Any external communication (like the contact form integration, or external APIs for blogs) should be shown as separate nodes that the Flask service interacts with.
Architectural Patterns and Design Principles
• MVC-like Separation: Even though Flask itself doesn’t enforce a strict MVC, your file structure indicates that views (templates), static content, and route logic are separated.
• Modular Structure: Using an application package (the app folder with an __init__.py and separate route file) promotes modular design.
• Responsive & Dynamic Content: Emphasize the separation of presentation (HTML/CSS/JS) from backend logic.
• Extensibility: The README hints at additional features like blogs, which suggests that the architecture allows for scalability.
Relevant Technologies
• Frontend: HTML, CSS, JavaScript, and Bootstrap.
• Backend: Python with Flask.
• Database: SQLite.
• Version Control and Deployment: Git/GitHub and Render, respectively.