Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelaljibesrosas/trivia
https://github.com/manuelaljibesrosas/trivia
cypress cypress-example react react-example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/manuelaljibesrosas/trivia
- Owner: manuelaljibesrosas
- Created: 2021-03-22T17:00:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T17:01:45.000Z (over 3 years ago)
- Last Synced: 2023-08-18T05:37:26.073Z (over 1 year ago)
- Topics: cypress, cypress-example, react, react-example
- Language: TypeScript
- Homepage: https://manuelaljibesrosas.github.io/trivia
- Size: 907 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Super Trivia App
A simple true or false trivia game, showcases some playful animations with a clean design; for technical details consult the `ARCHITECTURE.md` file
To play locally, install `[email protected]` and `[email protected]` and run
```bash
npm install && npm start
```This will start a local development server at port 8080, to access the game from your phone, make sure that your phone is connected to the same network as your computer, then open the browser and go to `http://:8080`
To run the unit tests, install the dependencies run this command
```bash
npm test
```To run the integration test suite, start the development server and run this command on a new terminal
```bash
npm run cypress:open
```This will open a new Cypress window from which the tests can be run
Please note that this app is __NOT responsive__ in its current version, and it's meant for devices with an aspect ratio close to 9:16 (~~any~~ most phones should be ok), running it on screens with an aspect ratio far from 9:16 is not supported and will break layout