property-portal

module
v0.0.0-...-284caec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: MIT

README

property-portal

Demo

https://youtu.be/pw-mvUUZXb8

Features
  • Search for properties
  • Get property details
  • Get property images
Pull container image
docker pull eozgit/property-portal
Run container
docker run --rm --tty --interactive \
    --publish 10000:10000 \
    --name property-portal \
    eozgit/property-portal
Start interactive shell
docker exec --interactive --tty property-portal bash
Run client
go run ./client/

Sample properties
sqlite3 -header -column -echo \
    /tmp/property.db < ./server/sql/sample_properties.sql
Sample property-images
sqlite3 -header -column -echo \
    /tmp/property.db < ./server/sql/sample_property_images.sql

Generate client & server stubs
cd propertyportal
protoc \
    --go_out=. \
    --go_opt=paths=source_relative \
    --go-grpc_out=. \
    --go-grpc_opt=paths=source_relative \
    property_portal.proto
Start server
go run ./server/
Build image
docker build --tag eozgit/property-portal:latest --tag eozgit/property-portal:YYMMDD .
Push image
docker image push eozgit/property-portal --all-tags

Docker repo

https://hub.docker.com/r/eozgit/property-portal

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL