/auth-client

Primary LanguageJavaScript

Auth Client

Learning Objectives

  • Use an authentication API to implement a front-end user login form.

Pre-requisites

Introduction

This exercise asks you to complete a user registration and login form that interacts with the auth-hashing API you completed previously. There are two paths through this exercise:

  1. Use pre-built forms where you focus on implementing the register / login functions
  2. Build the forms yourself

Instructions

I want to build the forms myself
  • Fork this repository and clone the fork.
  • Checkout the freedom branch ( git checkout freedom )
  • Run npm ci to install dependencies.
  • Use npm start to run the app.
  • Run your auth-hashing project in another terminal.
  • Work through each file in the requirements folder in numerical order.
I want to use pre-built forms
  • Fork this repository and clone the fork.
  • Run npm ci to install dependencies.
  • Use npm start to run the app.
  • Run your auth-hashing project in another terminal.
  • Work through each file in the requirements folder in numerical order.