šŸ‘‹ Welcome to my Portfolio

Hi! Welcome to my portfolio, now that I've amassed roughly a year of development experience I have decided to revamp my portfolio! This marks my first project where I commit seriously to executing best practices and following industry standards. I'll document all my learnings here in LEARNINGS.md and issue #2.

šŸƒā€ā™€ļø Getting Started

  1. Install pnpm npm install -g pnpm Use this to install pnpm globally on your system. Verify the installation using pnpm --version.

  2. Install dependencies pnpm i

  3. Run the app pnpm dev The portfolio will now be running on port 4321!

šŸš€ Project Structure

/
ā”œā”€ā”€ .husky/                         // CI tool for staged and commit linting
ā”œā”€ā”€ apps/
ā”‚   ā”œā”€ā”€ payload/                    // Payload CMS: Headless CMS for building dynamic APIs and admin panels
ā”‚   ā”‚   ā”œā”€ā”€ src/
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ controllers/
ā”‚   ā”‚   ā”œā”€ā”€ ā”œā”€ā”€ migrations/          // Payload CMS migrations
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ routes/
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ services/
ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ collections/         // Payload CMS collections
ā”‚   ā”‚   ā”œā”€ā”€ payload.config.ts
ā”‚   ā”‚   ā”œā”€ā”€ server.ts
ā”‚   ā”‚   ā”œā”€ā”€ dockerfile
ā”‚   ā”œā”€ā”€ storybook/
ā”‚   ā”‚   ā”œā”€ā”€ stories/                // Directory for stories
ā”‚   ā”‚   ā””ā”€ā”€ .storybook/
ā”‚   ā”‚       ā”œā”€ā”€ main.js
ā”‚   ā”‚       ā””ā”€ā”€ preview.js
ā”‚   ā”œā”€ā”€ website/                    // Main website for personal portfolio
ā”‚   ā”‚   ā”œā”€ā”€ src/
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ components/
ā”‚   ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ ui/              //shadcn components
ā”‚   ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ index/           // components used in index
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ layouts/
ā”‚   ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ MainLayout.astro
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ pages/
ā”‚   ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ index.astro
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ helpers/
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ styles/
ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ tests/               // Tests directory for the website
ā”‚   ā”‚   ā”‚       ā”œā”€ā”€ unit/            // Unit tests
ā”‚   ā”‚   ā”œā”€ā”€ dockerfile
ā”‚   ā”œā”€ā”€ website-e2e/                 // E2E tests for the main website
ā”‚   ā”‚   ā”œā”€ā”€ tests/
ā”‚   ā”‚   ā”‚   ā”œā”€ā”€ navigation/
ā”‚   ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ header.spec.ts
ā”‚   ā”‚   ā”‚   ā””ā”€ā”€ components/          // Component tests
ā”‚   ā”‚   ā”‚       ā””ā”€ā”€ button.spec.ts
ā”‚   ā”‚   ā”œā”€ā”€ playwright.config.ts
ā”‚   ā”‚   ā””ā”€ā”€ package.json
ā”œā”€ā”€ commitlint.config.ts             // commit linting rules
ā”œā”€ā”€ eslint.config.ts                 // linting rules
ā””ā”€ā”€ package.json

šŸŽØ Figma

Link to this project's Figma

Top categories

Loading Svelte Themes