https://github.com/jdwillmsen/usersrole-nx
This is a frontend application that provides a template for users authentication and authorization built with NX and Angular
https://github.com/jdwillmsen/usersrole-nx
authetication authorization github google template
Last synced: about 3 hours ago
JSON representation
This is a frontend application that provides a template for users authentication and authorization built with NX and Angular
- Host: GitHub
- URL: https://github.com/jdwillmsen/usersrole-nx
- Owner: jdwillmsen
- License: mit
- Created: 2023-10-17T00:18:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-06-18T04:11:57.000Z (13 days ago)
- Last Synced: 2026-06-18T06:12:41.224Z (13 days ago)
- Topics: authetication, authorization, github, google, template
- Language: TypeScript
- Homepage: https://users-role-nx.web.app
- Size: 999 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Users Role Nx
[](https://github.com/jdwillmsen/usersrole-nx/actions/workflows/ci.yml)
This is a frontend application that provides a template for users
authentication and authorization since these are common features used in
most applications. It also has additional features such as theme selection,
snackbar service, alerts service, and a general site layout with header,
collapsable sidebar/navigation, and main content area. This application is
also a Progressive Web App (PWA) and can be downloaded as an app on mobile
and desktop devices.
The authentication is provided by Firebase with Google Identity Platform and
the authorization is built off of a node server that makes use of Firebase
functions. The production server and all deployments are hosted with
Firebase hosting.
The main CI/CD tools used within this project include GitHub Actions and NX
Cloud with NX Caching.
## Start the app
To start the development server run `nx serve usersrole-nx`. Open your browser and navigate to http://localhost:4200/. Happy coding!
## Testing
### Running lint test
Run `nx lint ` or `nx run-many -t lint` to execute the lint testing via [ESLint](https://eslint.org/)
### Running unit tests
Run `nx test ` or `nx run-many -t test` to execute the unit tests via [Jest](https://jestjs.io/).
### Running component tests
Run `nx component-test --watch` or `nx run-many -t component-test --watch` to execute component tests in watch mode.\
Run `nx component-test ` or `nx run-many -t component-test` to execute component tests in headless mode.\
The component tests are making use of a testing framework called [Cypress](https://docs.cypress.io/guides/component-testing/overview).
### Running end-to-end tests
Run `nx e2e --watch` or `nx run-many -t e2e --watch` to execute e2e tests in watch mode.\
Run `nx e2e ` or `nx run-many -t e2e` to execute e2e tests in headless mode.\
The e2e tests are making use of a testing framework called [Cypress](https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test). \
\*\* Note e2e testing is not performed currently in CI
## Deployment
Run `nx deploy ` to execute deploy target. \
\*\* This is done manually and is not automated with CD.
## Project Info
Production URL: https://users-role-nx.web.app/ \
Based on: https://github.com/jdwillmsen/usersrole
### Developers
- Jake Willmsen