LOWKEYLOBOS Demo Project
About this project:
The project is a take home assessment to demonstrate the API design and consumption in GoLang.
Running the project:
- clone the project
- execute
go build
in root of project - execute
go run main.go
in root of project - the API is served in
http://localhost:10000/
Available endpoints:
The API uses Basic Authentication with username lowkeylobos2022
and password bijaya-sharma
.
GET /
: homeGET /metadata
: get list of metadataGET /metadata/{resourceId}
: get designated metadataPOST /metadata
: create new metadataDELETE /metadata/{resourceId}
: delete a metadata
NOTE:
For demo purpose I have used a dummy data to show the capabality of API building. Also I have added a single call to demonstrate the internal service call.