Skip to content

Our own personal site of games, cocktails and all the other good stuff.

License

Notifications You must be signed in to change notification settings

cjrace/almostyellow

Repository files navigation

Vercel Deploy Playwright tests CodeQL Linting Code style: prettier

Almost yellow

Our own personal site of games, cocktails and all the other good stuff.

Getting Started

This project was bootstrapped with Create Next App, and uses App Router. Package management is handled by pnpm. There is a supporting Postgres database that can be managed within Vercel and is hosted by Neon. Main libraries used so far are:

Styling and components

Database

Auth

Run locally

Start by installing dependencies:

pnpm install

Then you'll need to setup an .env file with the credentials needed to access the user database and manage the auth, follow the example from .env.example.

You can run the development server (automatically opens a browser tab to preview the site):

pnpm dev

Tests

Prettier is used for code formatting, ESLint is used for linting and basic end to end tests have been set up using Playwright.

To format all scripts, run linting checks, compile a production build, and then run the end to end tests run:

pnpm test

Pre-commit hooks

Husky is used to manage pre-commit hooks, currently this is used to enforce Prettier formatting on all code.

Handy scripts

View other available commands, including for running linting, formatting (including how to check format without making changes), compiling and more using:

pnpm run

Deployment

This site is deployed to the following places using Vercel, deploys are triggered from pushes to the main branch:

About

Our own personal site of games, cocktails and all the other good stuff.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •