Skip to content

gertjanmaas/wow-item-database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WoW Item Database

Example project for docker workshop.

Project setup

Microservice

The microservice is written in Python and serves two functions:

  1. Serving the API ( GET /items )
  2. Serving the frontend ( frontend/index.html )

The frontend consists of a simple HTML page with some Bootstrap CSS and JQuery logic. It uses fetch to get the items from the API and sorts it by whatever the dropdown is set too.

Database

The database required for this is a plain postgres database. For connection with the database the microservice needs to be injected with the following environment variables:

Environment Variable Explanation Default value
DB_USER The username for the Postgres database postgres
DB_PASS The password for the Postgres database postgres
DB_HOST The host for the Postgres database localhost
DB_PORT The port for the Postgres database 5432
DB_NAME The name for the Postgres database postgres

About

Example project for docker workshop

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published