https://github.com/qri-io/frontend
frontend application for our qri.cloud site
https://github.com/qri-io/frontend
Last synced: 6 months ago
JSON representation
frontend application for our qri.cloud site
- Host: GitHub
- URL: https://github.com/qri-io/frontend
- Owner: qri-io
- License: gpl-3.0
- Created: 2020-12-18T15:57:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-20T16:56:51.000Z (over 3 years ago)
- Last Synced: 2024-04-25T00:19:20.510Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 5.06 MB
- Stars: 3
- Watchers: 5
- Forks: 2
- Open Issues: 76
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://qri.io) [](./LICENSE)
Qrimatic
![]()
react, redux, typescript web application
Qrimatic is our new cloud platform for keeping data fresh, shareable, discoverable, and usable.## Welcome
| Question | Answer |
|--------|-------|
| "I want to learn about Qri" | [Read the official documentation](https://qri.io/docs/) |
| "I want to run Qrimatic in a development environment" | [Running Qrimatic for dev](https://github.com/qri-io/qrimatic/README.md#running) |
| "I want to run the Qrimatic e2e tests" | [Run e2e tests](https://github.com/qri-io/qrimatic/README.md#e2e-tests) |
| "I have a question" | [Create an issue](https://github.com/qri-io/qrimatic/issues) and use the label 'question' |
| "I found a bug" | [Create an issue](https://github.com/qri-io/qrimatic/issues) and use the label 'bug' |
| "I want to help build the Qrimatic" | [Read the Contributing guides](https://github.com/qri-io/qrimatic/CONTRIBUTOR.md) |
## Run Qrimatic in developer modeWe use yarn to build and manage Qrimatic. The frontend app needs an API to talk to. You can use the live staging API or set up a local proxy and run the app with the environment variable `REACT_APP_API_BASE_URL` defined
After you have cloned this repository, install dependencies:
`yarn`
Run the development server:
`yarn start`
### run locally
To run the e2e tests locally, you must be able to run and instance of qri & an instance of the frontend app1) launch the frontend app (`yarn start`)
2) in your local qri config, add "http:localhost:3000" to your `API.allowedOrigins`
3) in another terminal, launch the qri app (`qri connect`)
4) set your credentials as environment variables:
`TEST_E2E_USERNAME` is your local qri node's username
`TEST_E2E_PASSWORD` is your password
5) run `yarn e2e-test` to run your tests### run via cloud
To run the e2e tests via the staging cloud environment you must have an accound on `rosebud.qri.cloud` that has been cleared by an administrator. For help, please reach out to us on discord.1) set your credentials as environment variables:
`TEST_E2E_USERNAME` is your qri cloud username
`TEST_E2E_PASSWORD` is your password
2) set your app url environment variable:
`TEST_E2E_APP_URL="https://rosebud.qri.cloud"`
3) run `yarn e2e-test`| Dependency | Website | Github |
|------|------|------|
| Qri Backend | https://qri.io/ | https://github.com/qri-io/qri/ |
| React | https://reactjs.org/ | https://github.com/facebook/react/ |
| Redux | https://redux.js.org/ | https://github.com/reduxjs/redux |## LICENSE
[GPL-3.0](https://github.com/qri-io/desktop/blob/master/LICENSE)
## Contribute
We've set up a separate document for our [contributor guidelines](https://github.com/qri-io/qrimatic/blob/master/CONTRIBUTOR.md)!
###### This documentation has been adapted from the [Data Together](https://github.com/datatogether/datatogether), [Hyper](https://github.com/zeit/hyper), [AngularJS](https://github.com/angular/angularJS), and [Cycle.js](https://github.com/cyclejs/cyclejs) documentation.