{"id":15689190,"url":"https://github.com/mathisbullinger/resplash","last_synced_at":"2025-03-30T12:11:27.193Z","repository":{"id":118340277,"uuid":"455077884","full_name":"MathisBullinger/resplash","owner":"MathisBullinger","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-14T15:31:41.000Z","size":1474,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T13:48:14.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://resplash.bullinger.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MathisBullinger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-03T08:04:07.000Z","updated_at":"2022-02-07T16:11:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f7cdf51-00e8-4334-b754-fc44ca676156","html_url":"https://github.com/MathisBullinger/resplash","commit_stats":{"total_commits":42,"total_committers":1,"mean_commits":42.0,"dds":0.0,"last_synced_commit":"88dd1c508e8d5dc6458ea47266d290cf7bce84c5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBullinger%2Fresplash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBullinger%2Fresplash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBullinger%2Fresplash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MathisBullinger%2Fresplash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MathisBullinger","download_url":"https://codeload.github.com/MathisBullinger/resplash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314170,"owners_count":20757463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T18:01:16.444Z","updated_at":"2025-03-30T12:11:27.174Z","avatar_url":"https://github.com/MathisBullinger.png","language":"TypeScript","readme":"# Resplash\n\nA little demo app showing photos from the [Unsplash](https://unsplash.com/) API.\nThe app can display the photos in one of two different layouts:\n  - a traditional masonry-style layout where photos are always pushed onto the\n    smallest column\n  - a layout that alternates between portrait- and landscape-format photos which\n    are \"snapped\" to a grid (portrait photos taking up two rows)\n\nThe user can like photos. The liked photos are listed on a separate page and the\ninformation which photos have been liked is persisted to IndexedDB.\n\nThe app uses React, react-router, and Redux (including the Redux Toolkit). \nOther than that, no runtime dependencies are required.\n\nAll configuration (TypeScript, Webpack, Babel, Jest, ESLint, and Prettier) is\ncustom to this project.\n\n## Setup instructions\n\nThe app connects to the Unsplash API through a \n[little proxy service](https://github.com/MathisBullinger/resplash-proxy) that \ncaches requests and  falls back to them in case the rate limit is exceeded. \nYou can run the proxy locally or connect directly to the one the deployed \nwebsite uses.\n\nEither way, you will need to tell the app where to connect to. To do that, \ncreate a `.env` file containing:\n\n```\nAPI_ENDPOINT=https://hkqc9eb5si.execute-api.eu-west-1.amazonaws.com/prod/\n```\n\nAlternatively, you can also define an environment variable named `API_ENDPOINT`\nthat webpack will use during the build.\n\nAfter that, just `npm install` the dependencies and start the dev server with\n`npm run dev`\n\nScripts to lint and format the code have also been defined in the \n`package.json`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisbullinger%2Fresplash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathisbullinger%2Fresplash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisbullinger%2Fresplash/lists"}