View the Projects by pagnition

A Blog full of Web Projects

View the Projects by the navigation at the bottom of the Page sorted by Date...


Node Express REST API Membership system + Email notification - JWT and Refresh Token

17-August-2024

Node Express REST API Role based Membership system with Email Verification and Forgot Password using Sequelize ORM towards a MySQL DB - Authentication by JWT + Refresh Tokens

Note: Due to the resource limitations of the Microsoft Azure Free App Service Plan, the initial load time will be up to 30 seconds!

Volta was used for Node Version Management switching between Node versions

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 building the Web App

  • Node.js
  • Sequelize used to implement the ORM at the Web API
  • The Node.js Web API is hosted at Azure App Service with the Free App Service Plan
  • The React Client is hosted at a traditional Webhotel
  • MySQL as the Database for both Dev + Prod
  • CORS Policy implemented by Node.js and at Azure
  • JWT Token for access secure routes
  • Refresh Token by HTTP only Cookie to generate new JWT Tokens

.NET 8 REST API doing Authentication by JWT and Refresh Tokens

05-May-2024

Angular client towards a REST API by .NET 8 with C# using JWT and Refresh Tokens for Authentication

Traditional webhosting is used for this Application

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

Tech used for building the Web App

  • C#
  • The .NET 8 Web API is hosted at a traditional Webhotel
  • The Angular Client is hosted at a traditional Webhotel
  • SQLite as the Database for both Dev + Prod
  • CORS Policy implemented by .NET
  • JWT Token for access secure routes
  • Refresh Token by HTTP only Cookie to generate new JWT Tokens

By using JWT + Refresh Tokens the security will be improved. The JWT can have a reduced time to live and therefor less likely to be stolen


.NET 8 Hello World REST API

17-March-2024

A Hello World REST API in .NET 8 with C#

Traditional webhosting is used for this Application

Try the demo...

A Hello World Web API created by VS Code using .NET 8

The Web API at GitHub

.NET 6 REST API Membership system - MS SQL

15-March-2024

.NET 6 REST API with C# using Entity Framework Core + Remote MS SQL for Prod + local SQLite DB for Dev consumed by a Blazor Client serving as a Membership System

The Web API was made without the ASP.NET Core Identity using custom JWT middleware

Try the demo...

- C#
- Registration of Users
- JWT authentication
- CRUD Account management

MS SQL Server is fine for Production

SQLite is local DB and fine for testing locally and small applications

Traditional webhosting is used for this Application


.NET 6 REST API Membership system - SQLite

12-March-2024

.NET 6 REST API with C# using Entity Framework Core + SQLite DB consumed by a Blazor Client serving as a Membership System

The Web API was made without the ASP.NET Core Identity using custom JWT middleware

Try the demo...

- C#
- Registration of Users
- JWT authentication
- CRUD Account management

SQLite is local DB and fine for testing and small applications

Traditional webhosting is used for this Application





A Blog made with Gatsby React and GraphQL