Tiny URL

An operational project consisting of two different parts. On the first part, we have tiny URL maker where user can enter a long URL and generate a smaller URL that would correspond to that link.On the second part, there is a rock/ paper/ scissor game that user can play.

For the front-end and the back-end code development of this project I have used JavaScript/React/MUI and Python. For handling communication between front-end and back-end I used Flask and Axios. For data storage and retrival, I have used MySQL Database. The source codes are available in the repository.

Main home-page, where user can enter a link and get a tiny URL for it, or play game.

After clicking pay game button, user have to choose a prompt to play as.

After user chooses a prompt, the computer will choose a prompt randomly and results will be revealed.

I have stored both long URL with randomly generated digits for tiny URL in database. Once tiny URL has been generated, if selected and searched, it will call back-end to check for the URL in database and redirect the user.

For the game and the logic of the game, I have written the code in Javascript and handled it in front-end. Users can play, by clicking on the button and computer will randomly select from three options and play against the user. In the end user can replay the game by clicking on restart button.