git clone https://github.com/rlexus90/nodejs2024Q1-service.git
npm install
docker pull rlexus90/home-library
npm run create:db
or
sudo npm run create:db
npm run migrate
npm run docker:prod
or sudo npm run docker:prod
after run (only first time, or after delete volumes)
npm run migrate
npm run docker:dev
or sudo npm run docker:prod
after run (only first time, or after delete volumes)
npm run migrate
PS if you use MackOS with chip M1 app can be crashed InfoLink (before all work correct ๐คท)
npm run docker:scan
all vulnerabilities fixed.
After application running open new terminal and enter:
To run all tests without authorization
npm run test