This is the source code of my home page and blog currently hosted in https://abelcastro.dev.
Features:
This project was bootstrapped with create-next-app.
Provide somehow an Rest-API that returns blog posts as defined in definitions.ts.
Create a .env file based on the .env.template
Install dependencies:
pnpm iRun the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.
This project provides unit tests with vitest.
Run:
pnpm testWith coverage:
pnpm test:coverageThis project provides e2e test with playwright.
Headless run:
pnpm exec playwright testRun with UI:
pnpm exec playwright test --uihttps://nextjs.org/docs/pages/building-your-application/configuring/mdx#remote-mdx
https://gaudion.dev/blog/mdx-syntax-highlighting
https://tailwindcss.com/docs/background-color
https://nextjs.org/docs/app/building-your-application/optimizing/metadata
https://playwright.dev/docs/ci-intro#on-deployment https://cushionapp.com/journal/how-to-use-playwright-with-github-actions-for-e2e-testing-of-vercel-preview