Skip to content

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Reliaaaa Landing Page

A portfolio landing page built with React and Vite.

Local development

Use Node.js 22 and npm. From the repository root:

npm ci
npm run dev

Vite 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.

Checks

npm run lint
npm run test
npm run build

The 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.

Branches and deployment

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.

About

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages