0.0.1 • Published 4 years ago

ui_server v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Setup from scratch https://medium.com/@binyamin/creating-a-node-express-webpack-app-with-dev-and-prod-builds-a4962ce51334

Requirements: Node v10 nvm install v10 nvm use v10.17.0

Responsibilities:

  • Entrypoint for the app
  • Routing traffic to various microservices
  • Serve cached content to speed up requests

Deployment targets:

  • Cloudflare workers + KV for storage (cloud)
  • Docker + SQLite (docker)
  • Electron + SQLite (desktop)
  • React Native + SQLite (mobile)

Deploying

  • Cloud: Cloudflare worker UI server + S3 assets wrangler publish
  • Server: npm run server
  • Desktop: npm run desktop