Skip to content

Athikajishida/Authentication_From_Scratch

Repository files navigation

README

ruby -v - ruby 3.2.2 rails -v - Rails 7.1.2 node -v - v21.4.0 yarn -v - 1.22.21 bootsrap 5 I designed a login and a home page using bootstrap and view engine in ruby on rails. I learned how to validate the username and password at the server side with a predefined value. I secured the access to the home page by displaying an incorrect username or password message on the login page if the credentials were wrong. I added a signout button on the home page that would redirect to the login page when clicked. I ensured that the session handling worked properly and that the signout would not happen unless the user pressed the signout button. I also made sure that the home page would not be loaded on pressing the back button after signing out.

About

Bootstrap-enhanced Ruby on Rails: i created login and home pages. Validate email id & password server-side. Successful login leads to home page with a signout button. Proper session handling ensures secure signout, preventing back-button access to the home page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors