Web gallery built with nextjs
  • TypeScript 85.4%
  • SCSS 8.3%
  • JavaScript 5.3%
  • Shell 0.7%
  • Dockerfile 0.3%
Find a file
2025-09-27 17:32:51 +01:00
.docker build(docker): overhaul process 2021-01-14 19:45:46 +00:00
.idea chore: get it building again 2025-09-27 15:44:25 +01:00
components fix: idk anymore 2025-09-27 17:23:44 +01:00
content feat: customizable text on price table and basket dialog 2021-01-23 16:00:13 +00:00
lambda refactor: fix incorrect import 2025-09-27 15:56:37 +01:00
lib chore: run prisma generate on install 2025-09-27 17:30:54 +01:00
pages refactor: fix incorrect import 2025-09-27 15:56:37 +01:00
prisma chore: set prisma runtime 2025-09-27 17:32:51 +01:00
public feat: fixes, improvements, a whole load of stuff i didn't commit 2021-01-10 14:08:43 +00:00
scripts build: fix sitemap index pages 2021-01-31 14:24:52 +00:00
styles chore: get it building again 2025-09-27 15:44:25 +01:00
.dockerignore build(docker): overhaul process 2021-01-14 19:45:46 +00:00
.editorconfig initial commit 2020-12-27 23:31:40 +00:00
.env.example refactor: update nextjs 2022-03-26 17:19:38 +00:00
.eslintrc.json refactor: update nextjs 2022-03-26 17:19:38 +00:00
.gitignore fix: sentry not working 2022-03-26 17:20:20 +00:00
.prettierrc initial commit 2020-12-27 23:31:40 +00:00
.stylelintrc initial commit 2020-12-27 23:31:40 +00:00
docker-compose.yml build(docker): remove broken/unused configs 2022-03-26 17:17:29 +00:00
global.d.ts feat: fixes, improvements, a whole load of stuff i didn't commit 2021-01-10 14:08:43 +00:00
LICENSE chore: add license 2021-01-10 14:05:20 +00:00
next-env.d.ts refactor: update nextjs 2022-03-26 17:19:38 +00:00
next.config.js refactor: update nextjs 2022-03-26 17:19:38 +00:00
package-lock.json build: switch to npm 2025-09-27 15:48:32 +01:00
package.json chore: run prisma generate on install 2025-09-27 17:30:54 +01:00
README.md docs(readme): add quick todo list 2021-01-10 18:50:51 +00:00
sentry.client.config.js fix: sentry not working 2022-03-26 17:20:20 +00:00
sentry.server.config.js fix: sentry not working 2022-03-26 17:20:20 +00:00
tsconfig.json refactor: update nextjs 2022-03-26 17:19:38 +00:00

next-gallery

A photo web gallery and store built with NextJS.

A live version can be seen at https://rstanger.co.uk.

The database and site structure are rather geared towards the requirements of the above site, but I've tried to design it to be relatively easy to hack and customise.

Features

  • Masonry layout.
  • Designed to work on any size screen.
  • Ability to sort images into categories and groups.
  • Full admin area for viewing, adding, updating and removing all data.
  • Supports AWS S3 for storing images and static assets.
    • Works well paired with Cloudfront or another CDN service.
  • Stripe Checkout integration for purchasing products based on your images.
  • Defaults to webp to greatly reduce image sizes with no loss in quality.
    • Automatically Falls back to jpeg where webp is not supported.
  • Automatic image optimisation regardless of host.
  • Static page generation, even for dynamic content, using NextJS's revalidation features.
  • Server-side and client-side Sentry support for error tracking

TODO

  • Fix admin panel quick edit lookups
  • Remove rstanger-specific content - abstract into database?
  • Document code