Bruschetta is project I did for a course in web application (sorry, Swedish only) at Malmö University. It's clobbered together with Go and some JavaScript, mostly as a learning exercise for Go.
- A working Go environment
- A PostgreSQL database, accepting TCP connections, with a table called
titles
; seeexamples/table.sql
for column details - Since Netflix no longer issue API keys, a bzip2 compressed catalog is
assumed to be available at
DIR/bin/db/netflix.db.bz2
- Rotten Tomatoes API credentials stored in
rt.json
and available in the same directory as executables; seeexamples/rt.json
Bruschetta is assumed to reside in DIR
.
- Set
GOPATH
toDIR
- Get dependencies:
go get cron/netflix bruschetta
- Build binaries:
go install cron/netflix bruschetta
- Run the
netflix
tool to populate database with Netflix catalog; use option--help
see command line options - Run Bruschetta; again, use option
--help
for command line options - Point your browser to port 8888 on the host running Bruschetta