Check out example codes for "login with laravel". It will help you in understanding the concepts better.

Code Example 1

html { height: 100%; }
body {
    min-height:100%; 
    position:relative; 
    padding-bottom:[footer-height] 
}
.footer { 
    position: absolute; 
    left: 0 ; right: 0; bottom: 0; 
    height:[footer-height] 
}

Learn ReactJs, React Native from akashmittal.com