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.
- Host: GitHub
- URL: https://github.com/kayprogrammer/book-api-go
- Owner: kayprogrammer
- Created: 2023-03-24T17:28:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T17:29:34.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T15:22:12.180Z (about 1 year ago)
- Topics: golang, mux, mux-router
- Language: Go
- Homepage:
- Size: 3.94 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```