Skip to content

nandarusfikri/rest-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API Example

this project for test access API in server with custom port

API Reference

Get Info

  GET /

Get item

  POST /login
{
    "username": "admin",
    "password": "admin123"
}

Command-line-arguments

To run this project, you will need to add the following environment variables to your .env file

-name default name "API-Example"

-p default port :54321

Run Development

To deploy this project run

  go run main.go

Run API

Sesuaikan Dengan OS (Windows, Linux, MacOs)

  go run main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published