Skip to content

Latest commit

 

History

History
 
 

explorer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

RETS Explorer

RETS client with a ReactJS front end, Gorilla RPC services on the backend.

Find me at gophers.slack.com#gorets

Simplest way to run the explorer:

docker run --rm -it -p 8080:8080 docker.io/jpfielding/goretsexplorer:latest

to build it yourself

make clean restore-deps explorer
docker run --rm -it -p 8080:8080 gorets_explorer:latest
<point your browser at localhost:8080>

Example Explorer UI:

# All hosted from go
cd explorer/client
npm i
npm run build
go run ../../cmds/explorer/main.go -port 8000 -react ./build

# To run in dev mode
npm i
cd explorer/client
npm run start
go run ../../cmds/explorer/main.go -port 8080

Technologies

The front end build process uses:

Building

Javascript

CSS

  • PostCSS
    • Compiler for CSS. Allows transforming CSS with JS. This gives you error messages for improperly formatted code and lets you specify plugins for css parsing like:
    • CssNext
      • Allows you to write CSS4 spec CSS. Allows variables, nested components. Similar to SASS/ LESS.
      • Autoprefixer
        • Automatic vendor prefixing of CSS rules. No more having to worry about -ms, -webkit prefixes. Includes browser fixes for common broken css rules
  • Tachyons
    • Dead simple CSS framework for common classes.