/xray-scraper

Test project to familiarise with the x-ray scraping package

Primary LanguageTypeScriptMIT LicenseMIT

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