├── .dockerignore ├── .env.example ├── .eslintrc.js ├── .github └── workflows │ └── deploy.yml ├── .gitignore ├── .gitpod.Dockerfile ├── .gitpod.yml ├── .npmrc ├── .prettierignore ├── Dockerfile ├── Procfile ├── README.md ├── app ├── components │ ├── Filters │ │ ├── Filter.tsx │ │ ├── Icons │ │ │ └── Cancel.tsx │ │ └── index.tsx │ ├── Header │ │ ├── Icons │ │ │ ├── Cancel.tsx │ │ │ ├── ChevronUp.tsx │ │ │ ├── Github.tsx │ │ │ └── Search.tsx │ │ ├── Search.tsx │ │ ├── SelectStory.tsx │ │ └── index.tsx │ └── Items │ │ ├── ExternalLink.tsx │ │ ├── ItemFilters.tsx │ │ ├── ItemsSkeleton.tsx │ │ ├── RemoteOnly │ │ ├── Icons │ │ │ ├── SwitchOff.tsx │ │ │ └── SwitchOn.tsx │ │ └── index.tsx │ │ ├── Sort │ │ ├── Icons │ │ │ ├── Asc.tsx │ │ │ └── Desc.tsx │ │ └── index.tsx │ │ └── index.tsx ├── db.server.ts ├── entry.client.tsx ├── entry.server.tsx ├── models │ ├── item.server.ts │ ├── story.server.ts │ └── tag.server.ts ├── reducers │ └── itemsFiltersReducer.ts ├── root.tsx ├── routes │ ├── healthcheck.tsx │ ├── index.tsx │ ├── stories │ │ └── $storyId │ │ │ └── items.tsx │ └── tags.tsx ├── session.server.ts ├── utils.ts └── utils │ ├── constants.ts │ └── helpers.ts ├── compose.yml ├── cypress.config.ts ├── cypress ├── .eslintrc.js ├── e2e │ ├── popularFilters.cy.ts │ └── search.cy.ts ├── fixtures │ └── example.json ├── support │ ├── commands.ts │ └── e2e.ts └── tsconfig.json ├── deploy.yml ├── fly.toml ├── mocks ├── README.md └── index.js ├── package.json ├── postgres ├── dump.sh ├── restore.sh └── test.sql ├── prisma ├── migrations │ ├── 20220814235352_init │ │ └── migration.sql │ ├── 20221004055240_add_by_to_item │ │ └── migration.sql │ └── migration_lock.toml ├── schema.prisma └── seed.js ├── public └── favicon.ico ├── release.sh ├── remix.config.js ├── remix.env.d.ts ├── scripts ├── get-latest-story.server.ts └── scheduler.server.ts ├── server.ts ├── start.sh ├── tailwind.config.js ├── test └── setup-test-env.ts ├── tsconfig.json └── vitest.config.ts /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitpod.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.gitpod.Dockerfile -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.gitpod.yml -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | legacy-peer-deps=true 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/.prettierignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/Dockerfile -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/README.md -------------------------------------------------------------------------------- /app/components/Filters/Filter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Filters/Filter.tsx -------------------------------------------------------------------------------- /app/components/Filters/Icons/Cancel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Filters/Icons/Cancel.tsx -------------------------------------------------------------------------------- /app/components/Filters/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Filters/index.tsx -------------------------------------------------------------------------------- /app/components/Header/Icons/Cancel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Header/Icons/Cancel.tsx -------------------------------------------------------------------------------- /app/components/Header/Icons/ChevronUp.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Header/Icons/ChevronUp.tsx -------------------------------------------------------------------------------- /app/components/Header/Icons/Github.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Header/Icons/Github.tsx -------------------------------------------------------------------------------- /app/components/Header/Icons/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Header/Icons/Search.tsx -------------------------------------------------------------------------------- /app/components/Header/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Header/Search.tsx -------------------------------------------------------------------------------- /app/components/Header/SelectStory.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Header/SelectStory.tsx -------------------------------------------------------------------------------- /app/components/Header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Header/index.tsx -------------------------------------------------------------------------------- /app/components/Items/ExternalLink.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/ExternalLink.tsx -------------------------------------------------------------------------------- /app/components/Items/ItemFilters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/ItemFilters.tsx -------------------------------------------------------------------------------- /app/components/Items/ItemsSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/ItemsSkeleton.tsx -------------------------------------------------------------------------------- /app/components/Items/RemoteOnly/Icons/SwitchOff.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/RemoteOnly/Icons/SwitchOff.tsx -------------------------------------------------------------------------------- /app/components/Items/RemoteOnly/Icons/SwitchOn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/RemoteOnly/Icons/SwitchOn.tsx -------------------------------------------------------------------------------- /app/components/Items/RemoteOnly/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/RemoteOnly/index.tsx -------------------------------------------------------------------------------- /app/components/Items/Sort/Icons/Asc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/Sort/Icons/Asc.tsx -------------------------------------------------------------------------------- /app/components/Items/Sort/Icons/Desc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/Sort/Icons/Desc.tsx -------------------------------------------------------------------------------- /app/components/Items/Sort/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/Sort/index.tsx -------------------------------------------------------------------------------- /app/components/Items/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/components/Items/index.tsx -------------------------------------------------------------------------------- /app/db.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/db.server.ts -------------------------------------------------------------------------------- /app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/entry.client.tsx -------------------------------------------------------------------------------- /app/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/entry.server.tsx -------------------------------------------------------------------------------- /app/models/item.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/models/item.server.ts -------------------------------------------------------------------------------- /app/models/story.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/models/story.server.ts -------------------------------------------------------------------------------- /app/models/tag.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/models/tag.server.ts -------------------------------------------------------------------------------- /app/reducers/itemsFiltersReducer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/reducers/itemsFiltersReducer.ts -------------------------------------------------------------------------------- /app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/root.tsx -------------------------------------------------------------------------------- /app/routes/healthcheck.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/routes/healthcheck.tsx -------------------------------------------------------------------------------- /app/routes/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/routes/index.tsx -------------------------------------------------------------------------------- /app/routes/stories/$storyId/items.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/routes/stories/$storyId/items.tsx -------------------------------------------------------------------------------- /app/routes/tags.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/routes/tags.tsx -------------------------------------------------------------------------------- /app/session.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/session.server.ts -------------------------------------------------------------------------------- /app/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/utils.ts -------------------------------------------------------------------------------- /app/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/utils/constants.ts -------------------------------------------------------------------------------- /app/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/app/utils/helpers.ts -------------------------------------------------------------------------------- /compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/compose.yml -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/cypress.config.ts -------------------------------------------------------------------------------- /cypress/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/cypress/.eslintrc.js -------------------------------------------------------------------------------- /cypress/e2e/popularFilters.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/cypress/e2e/popularFilters.cy.ts -------------------------------------------------------------------------------- /cypress/e2e/search.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/cypress/e2e/search.cy.ts -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/cypress/fixtures/example.json -------------------------------------------------------------------------------- /cypress/support/commands.ts: -------------------------------------------------------------------------------- 1 | import "@testing-library/cypress/add-commands"; 2 | -------------------------------------------------------------------------------- /cypress/support/e2e.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/cypress/support/e2e.ts -------------------------------------------------------------------------------- /cypress/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/cypress/tsconfig.json -------------------------------------------------------------------------------- /deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/deploy.yml -------------------------------------------------------------------------------- /fly.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/fly.toml -------------------------------------------------------------------------------- /mocks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/mocks/README.md -------------------------------------------------------------------------------- /mocks/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/mocks/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/package.json -------------------------------------------------------------------------------- /postgres/dump.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/postgres/dump.sh -------------------------------------------------------------------------------- /postgres/restore.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/postgres/restore.sh -------------------------------------------------------------------------------- /postgres/test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/postgres/test.sql -------------------------------------------------------------------------------- /prisma/migrations/20220814235352_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/prisma/migrations/20220814235352_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20221004055240_add_by_to_item/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/prisma/migrations/20221004055240_add_by_to_item/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /prisma/seed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/prisma/seed.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/release.sh -------------------------------------------------------------------------------- /remix.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/remix.config.js -------------------------------------------------------------------------------- /remix.env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/remix.env.d.ts -------------------------------------------------------------------------------- /scripts/get-latest-story.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/scripts/get-latest-story.server.ts -------------------------------------------------------------------------------- /scripts/scheduler.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/scripts/scheduler.server.ts -------------------------------------------------------------------------------- /server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/server.ts -------------------------------------------------------------------------------- /start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/start.sh -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /test/setup-test-env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/test/setup-test-env.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gadogado/hn-hired/HEAD/vitest.config.ts --------------------------------------------------------------------------------