https://github.com/redhat-developer-demos/quotesweb
React.js front end to qotd-python
https://github.com/redhat-developer-demos/quotesweb
Last synced: about 1 year ago
JSON representation
React.js front end to qotd-python
- Host: GitHub
- URL: https://github.com/redhat-developer-demos/quotesweb
- Owner: redhat-developer-demos
- License: apache-2.0
- Created: 2021-06-08T16:01:29.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T17:17:16.000Z (over 3 years ago)
- Last Synced: 2025-04-08T07:38:42.002Z (over 1 year ago)
- Language: JavaScript
- Size: 220 KB
- Stars: 3
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quotesweb
This project is part of the Red Hat Developer Sandbox Activity entitled ["Learn Kubernetes using the Developer Sandbox for Red Hat OpenShift"](https://developers.redhat.com/developer-sandbox/activities/learn-kubernetes-using-red-hat-developer-sandbox-openshift).
## Overview
This application is written with ReactJS.
This web site is one page and displays a random quote every five seconds. You will need to supply the URI to the backend service and then click the "Start" button to begin. The following image has an example URI.
The backend service URI comes from the prerequisite project "quotes", which can be found here:
https://github.com/redhat-developer-demos/qotd-python.git

## Associated Linux Container Image
[quay.io/rhdevelopers/quotesweb:v1](https://quay.io/repository/donschenck/quotesweb)
## Running in a Kubernetes cluster
`kubectl create -f quotesweb-deployment.yaml`
`kubectl create -f quotesweb-service.yaml`
`kubectl create -f quotesweb-route.yaml`
## Removing from a Kubernetes cluster
`oc delete -l learn-kubernetes=quotesweb`