https://github.com/catman85/termapp-node-typesript-docker-express
A web-based terminal app for showing covid-19 status
https://github.com/catman85/termapp-node-typesript-docker-express
ansii-art covid-19 docker expressjs nodejs typescript
Last synced: 29 days ago
JSON representation
A web-based terminal app for showing covid-19 status
- Host: GitHub
- URL: https://github.com/catman85/termapp-node-typesript-docker-express
- Owner: catman85
- License: mit
- Created: 2020-10-30T17:54:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-06T20:56:52.000Z (over 4 years ago)
- Last Synced: 2025-03-21T02:21:24.614Z (about 1 month ago)
- Topics: ansii-art, covid-19, docker, expressjs, nodejs, typescript
- Language: TypeScript
- Homepage:
- Size: 7.34 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# A web-based terminal app for showing covid-19 status
[](https://github.com/catman85/TermApp-Node-Typesript-Docker-Express/stargazers) [](https://github.com/catman85/TermApp-Node-Typesript-Docker-Express/network)
# 💉 It's sick 😷 Featured in [](https://github.com/chubin/awesome-console-services)
# Try it out 😎```sh
curl snf-878293.vm.okeanos.grnet.gr
```

#### The visitor is geolocated and data is shown for his country.### Made with ❤️:
- NodeJS
[](https://forthebadge.com)
- TypeScript
[](https://forthebadge.com)
- Docker
[](https://forthebadge.com)
- ExpressJS
[](https://forthebadge.com)
## Develop locally
```sh
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
```sh
docker-compose up
```
##### Execution sequence:
1. docker-compose up
1. Dockerfile
1. npm ci --quiet && npm run build
1. npm run start:dev
1. nodemon (when it detects changes->)
1. ts-node
1. boot.ts
## Docker in production```sh
docker build -t "docker-app" .
docker run -d -p 80:8080 --rm docker-app node build/boot.js
```