Angular Frontend App With Server Side Rendering.
Lazy Loading, Server Side Rendering, Modular, Localization(Only Bengali and English Support) Server Side Rendering Platform Service for Native Browser Api Support(document, window, localstorage etc) Localizaiton supported for both Browser and Server Builds(Enables SEO Support for i18n)
Angular Universal Package Angular Material Package Check package.json for details.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build or the --aot
flag for ahead of time compilation.
Run to build and start application
npm run start:ssr
Run this command to compile universal nodejs server only
npm run build:ssr-server
For any errors in SSR Build related to document, window, localstorage i.e. browser types not available in server, use checkPlatformServer() in PlatformService of CoreModule.