Skip to content

rsesek/usda-ndb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foodle - The USDA Nutrient Database Search Engine

This is a sample app for a tech talk given at the AngularJS NYC Meetup in April 2013.

The repository is tagged with with varous preso/step-N tags, which match up with the various step slides in the presentation. On that page, I've also included a pre-built server binary, so that you can just clone the repository and run the server without having to install anything.

Running the Server

The backend server is written in Go, which the only requirement for building the app.

  1. Download and install the Go runtime.
  2. Set up your GOPATH, e.g.:
  • export GOPATH=$HOME/go/
  • mkdir $GOPATH
  1. Have Go clone the repository for you:
  • go get -d github.com/rsesek/usda-ndb
  1. Go to the work directory and build the server:
  • cd $GOPATH/src/github.com/rsesek/usda-ndb
  • go build
  1. Run the server:
  • ./usda-ndb

The server by default runs on port 8077, but it can be changed with the -port=8077 flag to the binary.

About

Simple search engine for the USDA's Nutrient Database. Sample app for the NYC AngularJS meetup.

Resources

Stars

Watchers

Forks

Packages

No packages published