Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/persteenolsen/angular-14-signup-email-client
About Angular 14 Web Client working towards a .NET 8 Web API serving as a Membership system with Email verification
https://github.com/persteenolsen/angular-14-signup-email-client
angular
Last synced: 14 days ago
JSON representation
About Angular 14 Web Client working towards a .NET 8 Web API serving as a Membership system with Email verification
- Host: GitHub
- URL: https://github.com/persteenolsen/angular-14-signup-email-client
- Owner: persteenolsen
- License: mit
- Created: 2024-03-17T13:37:38.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-13T10:59:13.000Z (3 months ago)
- Last Synced: 2024-11-07T09:46:19.497Z (2 months ago)
- Topics: angular
- Language: TypeScript
- Homepage: https://angular.signup.email.client.persteenolsen.com
- Size: 153 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angular-14-example - verification-boilerplate
Angular 14 Auth Boilerplate - Sign Up with Verification, Login and Forgot Password
Working towards a .NET 8 Web API
# Last updated
- 13-10-2024
The Web API was made without the ASP.NET Core Identity using custom JWT middleware
# Functionality of the Web App
- JWT authentication with refresh tokens
- Refresh token rotation
- Revoked token reuse detection
- Email sign up and verification
- Forgot password and reset password functionality
- Role based authorization with two roles "User" and "Admin"
- CRUD Account management routes with role based access control# Tech used for this Web Client
- Node.js version 18.19.1
- Volta for Node Version management
- Angular 14 is the JS framework for this frontend
- TypeScript
- Jasmin for Unit Testing
- Karma for configuration and HTML Test report coverage
- Traditional Webhotel for Hosting
- VS Code is my developement tool# Tech used for Web API, DB and Hosting
- .NET 8
- SQLite for the DB
- Traditional Webhotel for Hosting
- VS Code as developement tool
- Swagger API documentation with routes# Installing
- Make sure you have a new version of Node installed
- Download the code by zip or fork
- Run the command npm install by the command promt# Development server:
- npm run start
- You can view the development server at `localhost:4200`
# Production build:
- npm run build
The production build will be in the folder: dist
# Testing
- npm run test
Testing with Karma and Jasmine
Test example 1 - src/test.example.spec
Test example 2 - src/app/test.example.spec
Note: Testing was not working with Angular 15 !
Maybe could be solved adding a test.spec.ts