Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/satzrp/go-sample-rest-api
Simple REST API using GO
https://github.com/satzrp/go-sample-rest-api
go golang rest-api
Last synced: 6 days ago
JSON representation
Simple REST API using GO
- Host: GitHub
- URL: https://github.com/satzrp/go-sample-rest-api
- Owner: satzrp
- Created: 2018-01-13T12:28:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T20:05:39.000Z (over 3 years ago)
- Last Synced: 2024-06-19T04:15:12.104Z (5 months ago)
- Topics: go, golang, rest-api
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple REST API using GO
This is a simple REST API implementation using [Go](https://golang.org) programming langauge.
## Packages Used
* gorilla/mux - for routing
* gopkg.in/mgo.v2 - for accessing mongodb database## Endpoints
Base URL: localhost:8080
* GET /movies - To get all the movies from database
* GET /movies/{id} - To get movie by id
* POST /movies - To insert new movie
* PUT /movies - To update an existing movie
* DELETE /movies - To delete a movie