An open API service indexing awesome lists of open source software.

https://github.com/miguelsavignano/docker-express-typescript


https://github.com/miguelsavignano/docker-express-typescript

example single-page-app webserver

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# NodeJs app kubernetes

## Nodejs app

Architecture

![react-express](docs/images/diagram.png)

Single page aplication with rest api.

## Backend

### Docker images

image: devmasx/express-typescript-backend:latest

| Service | Version |
| ------- | ------- |
| Nodejs | 10.13.0 |
| Express | 4.16.4 |
| Mysql | 5.7 |

Enviroments

| Name | Required | Default |
| ----------------- | -------- | ---------- |
| DATABASE_HOST | true | |
| DATABASE_USERNAME | true | |
| DATABASE_PASSWORD | true | |
| NODE_ENV | false | production |
| PORT | false | 3000 |

## Frontend

### Docker images

image: devmasx/react-typescript-nginx-frontend:latest

| Service | Version |
| ------- | ------- |
| React | 16.8.6 |
| Nodejs | 10.13.0 |

Enviroments

| Name | Required | Default |
| ---------- | -------- | --------------------- |
| PROXY_PASS | false | http://127.0.0.1:3000 |
| API_URL | false | /api |
| PORT | false | 80 |