An open API service indexing awesome lists of open source software.

https://github.com/kayprogrammer/book-api-go

A simple rest api built with Go and Mux.
https://github.com/kayprogrammer/book-api-go

golang mux mux-router

Last synced: 11 months ago
JSON representation

A simple rest api built with Go and Mux.

Awesome Lists containing this project

README

          

## BOOK-API WITH GOLANG

#### Tutorial: [Golang REST API With Mux](https://www.youtube.com/watch?v=SonwZ6MF5BE) by Traversy Media

#### Go Docs: [Documentation](https://go.dev/doc/)
#### Mux Docs: [Documentation](https://pkg.go.dev/github.com/gorilla/mux)

## How to run locally

* Download this repo or run:
```bash
$ git clone git@github.com:kayprogrammer/book-api-go.git
```

#### In the root directory:
- Install Mux
```bash
$ go get -u github.com/gorilla/mux
```
- Build and run server
```bash
$ go build && ./book-api
```