Skip to content

Latest commit

 

History

History
70 lines (42 loc) · 1.86 KB

File metadata and controls

70 lines (42 loc) · 1.86 KB

A web-based terminal app for showing covid-19 status

GitHub stars GitHub forks

💉 It's sick 😷 Featured in Awesome

Try it out 😎

curl snf-878293.vm.okeanos.grnet.gr

The visitor is geolocated and data is shown for his country.

Made with ❤️:

  • NodeJS forthebadge
  • TypeScript forthebadge
  • Docker forthebadge
  • ExpressJS forthebadge

Develop locally

npm ci
npm run start:dev

Develop with docker

The following command triggers the Dockerfile in the current dir and only reaches the dev stage not the prod
docker-compose up
Execution sequence:
  1. docker-compose up

  2. Dockerfile

  3. npm ci --quiet && npm run build

  4. npm run start:dev

  5. nodemon (when it detects changes->)

  6. ts-node

  7. boot.ts

Docker in production

docker build -t "docker-app"  .
docker run -d -p 80:8080 --rm docker-app node build/boot.js