https://github.com/fac24/week5-george-hallie
https://github.com/fac24/week5-george-hallie
api react
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/fac24/week5-george-hallie
- Owner: fac24
- Created: 2022-06-08T10:50:58.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-10T14:33:00.000Z (about 4 years ago)
- Last Synced: 2025-02-28T12:17:50.806Z (over 1 year ago)
- Topics: api, react
- Language: JavaScript
- Homepage: https://really-bad-movie.netlify.app/
- Size: 118 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# week5-George-Hallie
## BADFLIX! https://really-bad-movie.netlify.app/
# Team members:
- [Hallie](https://github.com/vasystus)
- [George](https://github.com/Glombort)
---
## How to run in your local DEV environment
- clone the repo
- `cd` into really-bad-movies
- run `npm install`
- Get an api key from tmdb https://developers.themoviedb.org/3/getting-started/authentication
- Create a .env file with `VITE_APP_API_KEY = {YOURAPIKEY}`
- If you can't do this we can always lend you our key :)
- run `npm run dev` to start a server and view on the localhost
---
#### Can you guess the worst one?

---
# User Stories:
- User should be able to isert username;
- Query an API (e.g. the Github API, or any other fun one);
- Populate the UI with API data;
- Have some form of persistent state and interactivity, e.g.
- A hunger bar that decreases over time and is topped up when you feed them stars;

## Core features:
- User selects between 2 films on which they think is the least popular
- Gets correct or incorrect
- Loses star if incorrect, or gains a point if correct
- After all lives lost the high score is saved to local storage if they surpassed their current high score
- Can restart the game
- Sees old high score when using the same username