A portfolio landing page built with React and Vite.
Use Node.js 22 and npm. From the repository root:
npm ci
npm run devVite prints the local URL after the development server starts.
The contact form and analytics API also need PostgreSQL. Copy .env.example to .env, replace its placeholders, apply server/schema.sql to that database, and run node --env-file=.env server/dev.mjs in a second terminal. See development and release operations for the environment variables and deployment steps.
npm run lint
npm run test
npm run buildThe production build is written to dist/. GitHub Actions runs these checks for pull requests into dev or main, and for pushes to either branch. The workflow uses npm ci, so changes to dependencies must include an updated package-lock.json.
Create a feature branch and open a pull request directly into main. Run the checks, review the changes, and merge when ready. Vercel automatically deploys commits merged into main.
To deploy with Vercel, import this GitHub repository into a Vercel project and select main as the production branch. Use the Vite framework preset, npm run build as the build command, and dist as the output directory. Vercel can create preview deployments for pull requests after the Git integration is configured. Add any needed environment variables in the Vercel project settings; keep their values out of Git.
Vercel and GitHub branch protection are configured outside this repository. This README describes the intended setup and does not imply those services have already been connected.