Categorygithub.com/BolajiOlajide/go-api
modulepackage
0.0.0-20191031014224-8f913d1d9d09
Repository: https://github.com/bolajiolajide/go-api.git
Documentation: pkg.go.dev

# README

People API (GoLang)

Here's me trying to do some weird stuff with GoLang. Tried revamping the output of a tutorial and make use of:

  • Go Modules
  • Go Packages

Setup

  • Clone the project (obviously, lol)

  • Make a copy of the .env.example and name it .env

  • Fill in the content of the .env file with the appropriate variables

  • Start the application with the command go run main.go

Endpoints

EndPointFunctionalityPublic Access
GET /person/{id}Fetch a person by IDTRUE
GET /peopleFetch every person in the DBTRUE
POST /personCreate a personTRUE

Gracias!

# Packages

No description provided by the author
No description provided by the author