Skip to content

timadevelop/servicescope-web-client

Repository files navigation

Serviscope Web Client

Built with Angular 8 , Angular Universal , NG-ZORRO , Express

✨ Features / Tech stack

  • 🇹 Typescript
  • 🍉 Angular
  • 🌎 Universal SSR without flickering 🙃
  • 🌍 i18n, ngx-translate
  • 🐋 Docker

📦 Development and production server

Use Docker, docker-compose and .env file for serving: both for development and production mode. See Dockerfile in this repo and provide all env variables defined in timadevelop/servicescope-containers.

🌍 Localization and SSR

npm run build:ssr && npm run serve:ssr to build the application with English locale and serve it using express universal server. Locale-specific build: npm run build:ssr-bg to build the application using Bulgarian locale (see ./src/locale/messages.bg.xlf).

This project doesn't support dynamic language change, each locale should be served by a different server.

./node_modules/.bin/ngx-extractor -i src/**/*.ts -f xlf -o src/locale/messages.bg.xlf to generate sources from ts files.

🔗 Links

🤝 Contact

Email us at brainhublab@gmail.com or timadevelop@gmail.com