Built with Angular 8 , Angular Universal , NG-ZORRO , Express
- 🇹 Typescript
- 🍉 Angular
- 🌎 Universal SSR without flickering 🙃
- 🌍 i18n, ngx-translate
- 🐋 Docker
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.
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.
Email us at [email protected] or [email protected]