Skip to content

KaairaGupta/go_user_login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USER REGISTRATION AND LOGIN

  • This repository is made after following several tutorials on Go file structure, authentication, login, regsitration, and token generation.
  • This API uses MongoDB to store the test user data
  • It uses JWT for token generation
  • User is granted access of a dummy API (dummy-api) on sucessful login.
  • The app is hosted on http://localhost:8000 with routes as
    • /user/signup
    • /user/login
    • /dummy-api

Screenshots Corresponding to Possible Situations

Existing User

Existing user error

Successful SignUp

Successful Signup

Incorrect login attempts

Wrong password

Wrong email

Successful Login

Login successful

Incorrect token to access Dummy API

Incorrect signature

Successful attempt to access Dummy API

Successful attempt to access dummy api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages