Skip to content

redhat-marketplace/marketplace-games-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marketplace Games 🕹️

UI and Backend for the Marketplace Games app

Get started

Install the dependencies...

Client
cd marketplace-games-ui/client
yarn install
Service
cd marketplace-games-ui/backend
go get

Starting development servers

For local development we utilize webpack dev server for the client and proxy all API requests to the backend service running on localhost:8080.

Client
cd marketplace-games-ui/client
yarn dev

Navigate to localhost:5000. You should see the marketplace games app running. Edit a component file in src, save it, and reload the page to see your changes.

Service
cd marketplace-games-ui/backend
go run main.go

The backend go server will start on localhost:8080

Building and running in production mode

Build the client

cd marketplace-games-ui/client
yarn build

Build the service

cd marketplace-games-ui/backend
go build -o ../service . 
cd ..
./service

Then open localhost:8080 in your browser.

Build and run the Marketplace Games via Docker

From root run the following cmd:

docker build -t marketplace-games .

then after the image has been successfully built run:

docker container -d -p 8080:8080 marketplace-games:latest

Once the container is up and running open localhost:8080 in your browser.

About

UI for the marketplace-games service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •