Home Projects Portfolio Dashboard Export PDF Log in

Starting Fresh: Building the Foundation for bio-iglesia

Getting Started

Starting a new project often feels like staring at a blank canvas. I recently initiated the bio-iglesia repository, a project designed to leverage modern web development standards to build a responsive, user-friendly platform. By utilizing a robust stack including React and Next.js, the goal is to create a seamless experience that balances performance with maintainability.

The Technical Foundation

When starting a new codebase, setting up the right architecture is critical. For bio-iglesia, I am focusing on a clean, scalable setup that supports future growth. Using TypeScript ensures type safety across the entire application, while Emotion and Chakra UI provide a consistent and powerful styling workflow.

Setting Up Styles

Leveraging CSS-in-JS allows for scoped, maintainable styles that scale with our component library:

import { css } from '@emotion/react';

const containerStyle = css`
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 16px;
`;

export const Container = ({ children }) => (
  <div css={containerStyle}>
    {children}
  </div>
);

Architectural Choices

To keep the project modular, I am keeping Hexagonal Architecture principles in mind, ensuring that our business logic remains decoupled from external frameworks. Whether we are interacting with a REST API or managing complex state through an Observer Pattern, the core of the application remains isolated and testable.

Moving Forward

The initial commit marks the beginning of a long-term development phase. My next steps involve establishing the API client layer and integrating the core state management system.

Takeaway

When starting a new project, prioritize a strong type-safe foundation and clear component separation early. Don't let your codebase become monolithic; define your boundaries now so you don't have to refactor them later.


Generated with Gitvlg.com

Starting Fresh: Building the Foundation for bio-iglesia
Agustín Ibarrola

Agustín Ibarrola

Author

Share: