Test project to familiarise with the x-ray scraping package
This repository has been archived on 2026-03-21. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • TypeScript 82.1%
  • Dockerfile 9.1%
  • Shell 8.8%
Find a file
Riccardo Senica 37fa56b82d
Merge pull request #4 from RiccardoSenica/dependabot/npm_and_yarn/npm_and_yarn-3c67cbb9cd
chore(deps): bump js-yaml from 4.1.0 to 4.1.1 in the npm_and_yarn group across 1 directory
2025-11-16 20:48:50 +01:00
.husky feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
prisma feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
src feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
.env.example feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
.eslintrc.json chore: update configurations 2024-05-11 09:25:01 +02:00
.gitignore Initial commit 2023-11-28 18:55:17 +01:00
.prettierrc feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
.yarnrc.yml chore: update configurations 2024-05-11 09:25:01 +02:00
commitlint.config.ts feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
docker-compose.yml feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
Dockerfile chore: update configurations 2024-05-11 09:25:01 +02:00
LICENSE Initial commit 2023-11-28 18:55:17 +01:00
package.json chore: update pacakge.json 2024-12-07 07:37:12 +01:00
README.md feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
tsconfig.json feat: scraping, database and tooling 2023-11-30 17:20:44 +01:00
yarn.lock chore(deps): bump js-yaml in the npm_and_yarn group across 1 directory 2025-11-15 20:40:15 +00:00

xray-scrap-test

Setup

Run docker-compose to start (the database is exposed on port 5432 on localhost, and the credentials are in .env)

docker-compose up --build

Commands

Run in development mode

yarn dev

Run in production mode

yarn start

Lint the code

yarn lint

Type check the code

yarn typecheck

Format the code

yarn format

Install Git hooks

yarn prepare

Run the migrations

yarn db:migrate

Add a new migration

yarn db:add-migration

Generate the prisma client

yarn db:generate

Wipe the database

yarn db:reset