https://github.com/nagacoder/rest-api
Simple CRUD application use GO, Hello this is a simple project crud application what i learn so far with golang ^_^
https://github.com/nagacoder/rest-api
Last synced: 6 months ago
JSON representation
Simple CRUD application use GO, Hello this is a simple project crud application what i learn so far with golang ^_^
- Host: GitHub
- URL: https://github.com/nagacoder/rest-api
- Owner: nagacoder
- Created: 2019-03-05T03:36:46.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-02T04:15:28.000Z (almost 7 years ago)
- Last Synced: 2025-06-06T11:08:27.902Z (8 months ago)
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple CRUD application with Golang
Hello this is a simple project crud application what i learn so far with golang ^_^
### Installation
Make sure golang already installed in your computer,
Install the dependencies and devDependencies and start the server.
```sh
$ git clone https://github.com/nagacoder/rest-api.git
$ cd rest-api
$ go run main.go
```
### ENDPOINT
After your run the server you can test the endpoint with postman,
this is endpoint services ready to get test
| METHOD | ENDPOINT | PARAMS
| ------ | ------ |------ |
| GET | http://localhost:2223/users |-|
| GET | http://localhost:2223/users/ |id|
| POST | http://localhost:2223/users |name,email,address|
| PUT | http://localhost:2223/users/ |id ,name,email,address|
| PATCH | http://localhost:2223/users/ |id ,name,email,address|
| DELETE | http://localhost:2223/users/ |id|