![]() Once a user is logged in, the browser uses an API to retrieve all the user's tickets. This automates submitting an email/password combo and functions like a normal login. To make previewing the site easier, the form also has a button allowing the user to log into a demo account. When they successfully login or create an account, the server will generate a JSON web token for the browser to store. If the user does not have a valid JSON web token, they are presented with a modal allowing them to log in or create an account. If the token is valid, it logs in the user automatically and refreshes the stored token. When the user navigates to the /watch/ page, the site checks for a JSON web token in the session storage. The site uses React Router to allow the user to move seamlessly between the ticket manager and the generator. Built in random lottery ticket generator.SSL-encrypted with JWToken authentication.Winning numbers updated after each drawing.Add tickets and the site will automatically email you if a ticket wins.
0 Comments
Leave a Reply. |