This code base demonstrates a simple way to perform an inactivity autologout in Angular. Demonstration can be seen here https://johnbfox.github.io/angular-ngrx-autologout-demo/
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.