/angular-nagp-assignment

This repo deploys angular assignment for nagp.

Primary LanguageJavaScript

LOGO

Site is hosted using gh-pages. Click here to go to website.

Login page Student form page Student List Page
login page student form page student list page

Features

  • Student Entry Form (Reactive Forms)
  • Login / Logout
  • Keep Logged In
  • Student Categorization
  • Form Validation
  • Local Storage
  • Student List
  • Student Category Colors
  • Search by Name
  • Category Filter
  • View Student
  • Edit Student
  • Delete Student with Confirmation
  • Activate Guards
  • Deactive Guards
  • Lazy Loading
  • Unit Tests
  • Material Design
  • Responsive
  • Offline Support (PWA)

Development server

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.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running as PWA

Run ng build --prod to build the project. The build will be stoed in dist/ directory. Use http-server to serve that directory. Site will run on port 8080 by default. Navigate to http://localhost:8080. After intial load, site will run offline as well.