Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.77 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.77 KB

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 --> this is harder / longer

Instructions

I want to use pre-built forms
  • Fork this repository and clone the fork.
  • Run npm ci to install dependencies.
  • Use npm run dev 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 build the forms myself
  • Fork this repository - you need to UNCHECK the checkbox that says "Copy the main branch only".
  • fork screenshot
  • Clone the fork.
  • Checkout the freedom branch ( git checkout freedom )
  • Run npm ci to install dependencies.
  • Use npm run dev to run the app.
  • Run your auth-hashing project in another terminal.
  • Work through each file in the requirements folder in numerical order.