Skip to content

This project is an authentication system that allows users to register and log in to their accounts. The system can validate user input. Users can update their username and password.

Notifications You must be signed in to change notification settings

leo77534/test_project_devkind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

test_project_devkind

This is an authtication system project. User can sign up, log in the account and update the username and password.

Table of Contents

Installation

Please make sure your node.js version is up-to-date(20.X.X): https://nodejs.org/en

If there is no 'next' in local device, open terminal and run: npm install next

Clone the repository
git clone https://github.com/leo77534/test_project_devkind.git

Usage

Run the application:

  1. Open the terminal and run:
    cd authapp
    npm run dev
  2. Open your browser and go to http://localhost:3000
    Alt text

Features

  • Sign up

    Click Sign Up to the resgister page.
    Alt text
    Fill in username/email/password and checkbox(user is at least 18 years old) and click Sign Up
    Alt text

  • Log in

    After signing up, the account'data was post to mongoDB.
    User can fill in the email and password, click Login to log in.
    Alt text
    User can see the homepage after login.
    Alt text

  • Update profile and change password

    Click Profile Page button to the profile page Alt text User can change username by filling in new username.
    User can change password by filling in password and comfirm password.
    (User must fill in the same email as they log in)
    Click update to put the new username and password to mongoDB. (User must fill in all blanks)
    Click Home Page to back to home page and click Sign out to back to login page.
    User can log in with the new password.

  • Validate input

    All data enter by user will be validated. Alt text
    For example, the system will warn user if they enter wrong email and password in login page. Alt text
    Here is another example, the system will warn user if they keep the blank empty or they enter different password and comfirm password.

Contact

For any inquiries, please contact [email protected].

About

This project is an authentication system that allows users to register and log in to their accounts. The system can validate user input. Users can update their username and password.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published