npm i -g pnpm
- Setup DB
- with docker compose, from root dir run, tomato
docker-compose up
- or with docker container, tamato
- build the image
docker build -f db.Dockerfile -t stock-data-db:local .
- run it
docker container run -d -p 5445:5445 stock-data-db:local
- build the image
- Migrate and seed the db
pnpm install
npm run db:update
- with docker compose, from root dir run, tomato
- Start the service
npm start