Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 557 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 557 Bytes

california14ersapi

Just a demo project built with golang

requires a mysql database and the "github.com/go-sql-driver/mysql" driver for mysql

Sample sql dump of data is included

Add folder to the src directory in your $GOPATH

go build main.go

./main.go

runs on localhost:8005

An API for quering the 14k foot peaks in California and their most will known routes. Endpoints include:

GET: /mountains

get all 14ers

GET: /mountains/{id}

get a specific 14er by id

GET: /mountains/{id}/routes

get all routes for a specific 14er