The Goophr source code

In the previous two chapters, Chapter 6, Goophr Concierge and Chapter 7, Goophr Librarian, we discussed the code for Concierge and Librarian respectively. In order to run the complete Goophr application using docker-compose, we will need to merge the codebases of both Librarian and Concierge into a single codebase. The codebase will also include docker-compose.yaml and code for the file server.

In this chapter, we will not list the code for all the files in Librarian and Concierge but only the files with changes. Let's start by looking at the structure of the complete project:

$ tree -a
.
ε2;── goophr
    ├── concierge
    │   ├── api
    │   │   ├── feeder.go
    │   │   ├── feeder_test.go
    │   │   └── query.go
    │   ├── common
    │   │   └── helpers.go
    │   ├── Dockerfile
    │   └── main.go
    ├── docker-compose.yaml
    ├── .env
    ├── librarian
    │   ├── api
    │   │   ├── index.go
    │   │   └── query.go
    │   ├── common
    │   │   └── helpers.go
    │   ├── Dockerfile
    │   └── main.go
    └── simple-server
        ├── Dockerfile
        └── main.go
    
8 directories, 15 files
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset