My personal website built with React, Remix, and deployed on Cloudflare Pages.
Posts are maintained in Notion and fetched using the Notion API.
- Node.js >=20.0.0
- pnpm
Clone the repository and install dependencies:
git clone cd @patdx/site pnpm install
Set the NOTION_TOKEN environment variable with your Notion API token.
To run the development server:
pnpm run dev
- build: Build the project for production
- deploy: Deploy to Cloudflare Pages
This project uses Drizzle ORM with Cloudflare D1. To manage your database:
- Generate migrations: pnpm run db-gen
- Apply migrations: pnpm run db-up
- Execute SQL: pnpm run db-exec
To deploy the website to Cloudflare Pages:
pnpm run build pnpm run deploy
- @biomejs/biome for linting and formatting
- vite as the build tool
- wrangler for Cloudflare Workers CLI
This is a personal website, but if you notice any issues or have suggestions, feel free to open an issue or submit a pull request.