Skip to content

We were challenged with building whatever application came to mind that had a client UI that communicated with an API. Built with React and tested with Cypress. Midcourse project October 2020.

Notifications You must be signed in to change notification settings

salindholm/trumpster_client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trumpster

Description

This is the Client of the full stack application that we have created for the sole purpose of making fun of the former president of the United States, Mr Donald J. Trump. During his presidency he have made life hard for comedians whom makes political commentary. How do you make a joke about a living joke? The answer that we find to be the best is to show the original joke without context or commentary, let the man speak for himself. The website is made by using an external API called Tronald Dump. This API is a collection of all the dumbest things that Donald Trump has ever said. We use our API to modify the data from the Tronald Dump API and then use Axios to to request in order to get relevant data. The functionality is based on different leaves of authentication. When you are just a visitor you will get one random quote that will update every time you refresh the page. When you are a registered user you have the ability to search for a quote from the Tronald Dump API. You become a registered user by providing the webpage with you’re Email and a password. But when you are a subscriber you will be able to customize your own insult insider by Trump. You become a subscriber by adding you card information and paying us 3kr.

The code

User Stories

As a visitor,
In order to enjoy some Trump quotes without registering,
I would like to view a random Trump quote for free.
As a visitor,
In order to access the search function,
I would like to be able to register myself.
As a user,
In order to get an insult generated,
I would like to be able to subscribe.

Dependencies

  • React
  • Cypress
  • Semantic-ui-react/Semantic-ui-css
  • Axios
  • React-route-dom
  • Stripe

Acknowledgements

License

MIT License

Authors

About

We were challenged with building whatever application came to mind that had a client UI that communicated with an API. Built with React and tested with Cypress. Midcourse project October 2020.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.4%
  • CSS 5.0%
  • HTML 2.6%