Code Monkey home page Code Monkey logo

angular-jwt-authentication-system's Introduction

Angular JWT Authentication System

Demo

Angular Login Page

Overview

This project is an Angular-based authentication system using JSON Web Tokens (JWT). It provides a robust and secure way of handling user authentication in Angular applications.

Features

  • User Registration: Allows new users to create an account.
  • User Login: Enables users to log in to the application.
  • Authenticated User Data Retrieval: Displays data of the authenticated user.
  • Toasts for Notifications: Uses a toaster component for displaying messages.
  • Reactive Forms: Utilizes Angular Reactive Forms for handling form inputs.
  • Bootstrap Styling: Styled with Bootstrap for a responsive and modern UI.
  • HTTP Interceptor: Includes an interceptor to add withCredentials to all backend requests.

Getting Started

Prerequisites

  • Node.js
  • Angular CLI

Installation

  1. Clone the repository:

    git clone https://github.com/dev-ambinintsoa/angular-jwt-authentication-system.git
  2. Navigate to the project directory:

    cd angular-jwt-authentication-system
  3. Install dependencies:

    npm install
  4. Run the application:

    ng serve
  5. Open your browser and navigate to http://localhost:4200.

Usage

Registration

  1. Navigate to the Registration page.
  2. Fill in the required fields.
  3. Submit the form to create a new user account.

Login

  1. Navigate to the Login page.
  2. Enter your credentials.
  3. Submit the form to log in.

Viewing Authenticated User Data

  • Once logged in, navigate to the Authenticated User component to view your data.

Contact

For any queries or contributions, feel free to connect with me:

  • Email
  • LinkedIn

Acknowledgments

  • Angular Team for the amazing framework.
  • Bootstrap for the UI components.
  • Community contributors and everyone who supports this project.

angular-jwt-authentication-system's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.