{"repo":"nikosanif/angular-authentication","free":true,"listed":false,"github":"https://github.com/nikosanif/angular-authentication","clone":"git clone https://github.com/nikosanif/angular-authentication.git","description":"An Angular application that demonstrates best practices for user authentication & authorization flows.","language":"TypeScript","stars":294,"topics":["angular","authentication","ngrx","tailwindcss","authorization","typescript","material-ui","ngxs"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Angular Authentication An Angular application that demonstrates best practices for user authentication & authorization flows. By @nikosanif Table of Contents - Live Demo - Getting Started - Features - Tech Stack - High-level Design - Contributing - Support - License Live Demo Live application: angular-authentication.netlify.app Getting Started Prerequisites - Node.js - Angular CLI Setup & Local Development - Clone this repository: git clone git@github.com:nikosanif/angular-authentication.git - cd angular-authentication - Install dependencies: npm install - Serve the Angular app: npm start - Open your browser at: http://localhost:4200 Use it as a Template The main purpose of this repository is to provide a simple Angular application that demonstrates best practices for user authentication and authorization flows. The application is configured to use a fake API server (interceptor) that simulates the backend server. Also, it includes two state management libraries, NgRx and NGXS, so you can choose which one to use. If you want to use this repository as a template for your project, you can follow these steps: - Clone this repository - Remove fake API: - Delete src/app/core/fake-api folder - Remove all references from the fake-api folder - Remove the fakeApiInterceptor from app.config.ts - Choose the state management library you want to use: - NgRx: Remove src/app/auth/store/ngxs folder and the index.ngxs.ts file - NGXS: Remove src/app/auth/store/ngrx folder and the index.ngrx.ts","default_branch":null,"files":null,"tree":[],"storefront":"/r/nikosanif","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nikosanif/angular-authentication/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}