Skip to content

LeeMartin77/mincepierank.co.uk

Repository files navigation

MincePieRank.co.uk

Because someone has to try and figure out who has the best mince pies.

Container Tags:

Other than versions, the intent is to have two tags:

  • latest will be the latest published release
  • bleed will be the latest build of main

Development

Before you run the app

The appliction expects a cassandra database setup to run. The environment variables you can control the connection with are:

  • CASSANDRA_CONTACT_POINTS (split on ;)
  • CASSANDRA_LOCALDATACENTER
  • CASSANDRA_USER
  • CASSANDRA_PASSWORD

However, if you set none up, you can simply hook up to a local database which can be run with podman with:

npm run dev:startlocaldb

You can then apply the migrations to this database with:

npm run dev:migrations

And seed some local test data with:

npm run dev:seedlocaltestdata

Running the app

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

API routes documentation.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More about Next.js

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

A website for ranking Mince Pies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published