Pbdekeijzer / Json-RestAPI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Json-RestAPI

This is a json rest api which implements a variety of example requests. The api is fully functional when using postman.

Running the solution

from ../src/ run the command:

  • go get github.com/Pbdekeijzer/Json-RestAPI

After the packages are finished cloning, in ..src/github.com/Pbdekeijzer/Json-RestAPI Run this command: go run server.go

OR

run these commands:

  • go build
  • run the .exe

Running unit tests

from ..src/github.com/Pbdekeijzer/Json-RestAPI run the command:

  • go test -v ./...

Running postman tests

Postman tests can be found in Tests.postman_collection.json

To do

  • Implement forms for posts
  • Implement authentication

Implemented external packages

About


Languages

Language:Go 100.0%