No description
Find a file
2026-05-15 17:20:17 +02:00
src Fix responsivity of modal on mobile 2026-05-15 17:20:17 +02:00
tmp_repl Initial commit 2026-05-14 18:16:38 +02:00
.envrc Introduce README.md, AI-USE.md. Setup nix-shell for node. Tag personal comments with @PERSONAL-NOTE. 2026-05-15 13:37:19 +02:00
.gitignore Introduce README.md, AI-USE.md. Setup nix-shell for node. Tag personal comments with @PERSONAL-NOTE. 2026-05-15 13:37:19 +02:00
.prettierignore Initial commit 2026-05-14 18:16:38 +02:00
.prettierrc.json Add Remote type constructor. Setup basic State/Msg/effects/Reducer. Format 2026-05-14 23:03:48 +02:00
AI-USE.md Introduce README.md, AI-USE.md. Setup nix-shell for node. Tag personal comments with @PERSONAL-NOTE. 2026-05-15 13:37:19 +02:00
ASSIGNMENT.md Initial commit 2026-05-14 18:16:38 +02:00
eslint.config.js Cleanup. Fix simple linter error. 2026-05-15 00:51:24 +02:00
index.html Initial commit 2026-05-14 18:16:38 +02:00
package-lock.json Added zod. Wrapped picsum API. 2026-05-14 19:05:18 +02:00
package.json Added zod. Wrapped picsum API. 2026-05-14 19:05:18 +02:00
README.md README update 2026-05-15 17:14:04 +02:00
shell.nix Introduce README.md, AI-USE.md. Setup nix-shell for node. Tag personal comments with @PERSONAL-NOTE. 2026-05-15 13:37:19 +02:00
TODO.md Initial commit 2026-05-14 18:16:38 +02:00
tsconfig.json Initial commit 2026-05-14 18:16:38 +02:00
vite.config.ts Relative paths 2026-05-15 17:09:38 +02:00

Picturarium

Picturarium is a small React image gallery using the Lorem Picsum API. It displays paginated image thumbnails, caches loaded pages during the session, and opens selected images in a larger modal view. The app uses TypeScript, Material UI, and explicit remote/request state handling for loading and error states.

Installation

This assumes node is installed on your system.

git clone https://git.meatbagoverclocked.com/omedusyo/picturarium # or `git clone https://github.com/omedusyo/picturarium` in case internet provider disconnects my internet or my minipc explodes.
cd picturarium
npm install

Execution

After cloning the repo in picturarium/:

dev

You can start a vite dev-server

npm run dev

production

To see production build:

npm run build
npm run preview

Comments

In this codebase I sometimes use comments that start as

// @PERSONAL_NOTE

These are just there for this particular assignment, and I wouldn't included them in a real codebase. They are just notes to let you know why I made specific decisions and how I think about stuff.