AngularTS app to view the salary cap totals and contracts for NBA teams.
The app uses Angular Universal for server-side rendering and prerendered routes.
Firebase functions, hosting, and database are used for NBA Salary Cap Tracker.
Run firebase deploy
to deploy to the Firebase production app.
Run npm run dev && firebase emulators:start
to build the SSR app and bring up the emulators for functions and hosting. The frontend will automatically request the cloud functions at the correct localhost location.
NOTE: The functions emulator will be talking to the production database. Navigate to http://localhost:5000/
.
The app will require rebuilding if changes are made (due to SSR and prerendering). To serve the a non-ssr version of the app on a development server, use ng serve
.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng test
to execute the unit tests via Karma.