Skip to content

mickoymouse/play-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bare bone API using golang

Running the API

  1. Go to the project directory: /play-api.
  2. Open terminal on that directory and type: ./run.sh. You should see Listening to http://localhost:5000/.

Testing the API

Type the following URL in your browser.

  1. localhost:5000/ - this should show the following message: {"msg":"Congrats! It works!"}
  2. localhost:5000/test?email=[email protected] - this should show the following message: {"msg":"[email protected]"}

About

This is a skeleton for a golang rest api.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published