Skip to content

CITIZENDOT/AuthTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AuthTest

Features

  • User registration
  • User Login
  • Persisting user for 1 hour (can be changed)
  • Changing Password

TechStack

  • MySQL
  • Node.JS
  • React.JS

Local Development (Linux)

  • Start MySQL Server.

    $ sudo systemctl start mysql
    sudo mysql -u root -p < create-database.sql
    • Create a user named scot and password tiger. Grant all privileges on AuthTest database to scot.
    # These should be executed in mysql shell as root user
    CREATE USER 'scot'@'localhost' IDENTIFIED BY 'tiger';
    GRANT ALL PRIVILEGES ON AuthTest.* TO 'scot'@'localhost';
    FLUSH PRIVILEGES;
  • Install dependencies (in both server and client) as shown below.

    $ cd server && yarn && cd ../client && yarn && cd ..
  • Start server and react dev server (as shown below).

    $ cd server
    $ yarn run devStart

About

Authentication with NodeJS, MySQL, ReactJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published