Skip to content

snowjet/quotegen-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quotegen-frontend

This is a simple frontend that displays famous quotes from a backend Quote Generator.

Contribute

CodeReady Workspaces

Contribute

create application with postgres backend

export PROJECT=<namespace>

oc new-project ${PROJECT}

oc apply -f ./quotegen-frontend/oc_templates/frontend/is_frontend.yml  -n ${PROJECT}
oc apply -f ./quotegen-frontend/oc_templates/frontend/svc_frontend.yml -n ${PROJECT}
oc apply -f ./quotegen-frontend/oc_templates/frontend/dc_frontend.yml -n ${PROJECT}

oc expose svc/frontend -n ${PROJECT}

Backend Response Example:

{
 "backend":"postgresql",
 "quotes": {
    "name":"Benjamin Franklin",
    "quote":"Tell me and I forget.  Teach me and I remember.  Involve me and I learn."
}}

Backends

See https://github.com/snowjet/demo-quote-gen for backend

About

front for quotegen service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published