Skip to content

Web app with different user roles, protected route, CRUD, user authentication, email verification

Notifications You must be signed in to change notification settings

trishan555/role-auth-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

WasToWill Web application

Used Technology stack: NodeJS, ExpressJS , ReactJS, MongoDB


Brief explaination about application

User roles : There are two roles available as Admin and User(Student)

Initial page will be login page and first have to log in to the system as an Admin. Seeder file in backend root folder. It includes admin and dummy verified student as well. Admin can create users, view user details and search users by name, email or id and delete specific users. When Admin creates a user by giving necessary details, the user(student) receives a verification email from the application. That email includes a temporary password and without verifying the email, the user cannot access the application even using a Temporary password. For verifying, users have to click the verifying link. That link includes emailToken randomly generated by the application. Once an emailToken is only similar to a token that is stored in a database, the account will verify.
After clicking the verify link in the email user account will activate and then redirect to the login page. Then the user can use a temporary password to login to the system. (Without verifying email user cannot access)

Students can update their profiles, add notes, view notes, update notes and delete notes.

This app is implemented by using JWT token based authentication and token save in frontend using cookie.

Thank You!

About

Web app with different user roles, protected route, CRUD, user authentication, email verification

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published