Skip to content

alexandre1202/usernamefront

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usernamefront

Application to check a user name avaiblility

This simple web application has a form that receives a user name and it needs to check same rules:

  1. it needs to check whether this user name is unique and available to be used
  2. it needs to check if this username is the same as a restricted user name, e.g. cannabis, abuse, crack, damm, drunk, grass
  3. it needs to provide a function to maintain this restricted user name list
  4. it needs to provide a list with 14 suggestions in case this user name has unavailable
  5. it needs to provide 3 possibilities of user name suggestion list
  6. it needs to check if a user name input field form has at least 6 chars
  7. it needs to provide a unit test for 2 usernames

The technological solution :

  • AngularJS 1.6.4, npm 4.1.2, node 7.5.0 and Google Chrome extension ( Web Server 200 Ok ) in frontend.

Considerations:

  • Flat file usernamelist.txt and username-restricted.txt are provided to be copied in your user.home directory
  • Both username.war (backend application) and usernamefront (frontend application) are used for this solution

Please, follow the procedures below which are necessary to run this frontend. Install Google Chrome Navigator and the follow extensions:

  1. Install 200 Ok
  1. Open Google Chrome and access CORS Toggle

After theses steps, please, enter the url http://localhost:8887/ and you have to accesss the Web Application.

Before entering in username field, please, access https://github.com/Alexandre1202/username to get and start backend too.

About

This is a frontend application with AngularJS 1.5.8 which provides a validation if an username is available for use. Please check README.MD for a backend username.war java web application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors