Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/raihaninfo/golang-restapi

create rest-API using gorilla/mux with MySQL database.
https://github.com/raihaninfo/golang-restapi

golang mysql-database rest-api

Last synced: 26 days ago
JSON representation

create rest-API using gorilla/mux with MySQL database.

Awesome Lists containing this project

README

        

# Golang RestAPI using gorilla/mux
## Golang restAPI crud project with mySql database.
[![Facebook-Page][facebook-shield]][facebook-url] [![Instagram][instagram-shield]][instagram-url] [![LinkedIn][linkedin-shield]][linkedin-url]

[facebook-shield]: https://img.shields.io/badge/-Facebook-black.svg?style=flat-square&logo=facebook&color=555&logoColor=white

[facebook-url]: https://facebook.com/raihan.mahmudi.50

[instagram-shield]: https://img.shields.io/badge/-Instagram-black.svg?style=flat-square&logo=instagram&color=555&logoColor=white

[instagram-url]: https://www.instagram.com/raihan_info/

[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555

[linkedin-url]: https://www.linkedin.com/in/raihaninfo/

![alt text](images/browser.png)

## GET All data

http://localhost:8080/employees


![alt text](images/alldata.png)

## GET data by id

http://localhost:8080/employee/2

## POST new data

![alt text](images/post.png)

## UPDATE data

![alt text](images/put.png)

## DELETE data

![alt text](images/delete.png)


## Happy Coding 🇧🇩