Skip to content

NotKirzu/basic-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-rest-api

Basic REST API build with Go

Go version

Endpoints:

GET

/users -> Get all users
/users/:id -> Get user by id


POST

/users/:id -> Add a new user


DELETE

/users/:id -> Remove an existent user


PATCH

/users/:id -> Modify an existent user



Steps to build:

  1. Install dependencies
$ go get .
  1. Build executable
$ go build
  1. Run server
On Windows
$ ./restApi.exe
On Linux/MacOS
$ ./restApi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages