An example of a CRUD api in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Unbewohnte 69378337d6 Updated README 3 years ago
dbHandle Automatic date created, last updated on creation 3 years ago
logs Rewrite from the ground; SQL database 3 years ago
randomData Automatic date created, last updated on creation 3 years ago
.gitignore Now builds, added db to .gitignore 3 years ago
LICENSE Update LICENSE 4 years ago
README.md Updated README 3 years ago
curl_examples Add files via upload 4 years ago
go.mod Rewrite from the ground; SQL database 3 years ago
go.sum Now builds, added db to .gitignore 3 years ago
main.go Added db row creation function 3 years ago

README.md

CRUD api

A simple CRUD api written in Go

API has implementation of "GET", "POST", "PUT", "DELETE" http methods, allowing to Create, Read, Update and Delete objects in database via json input.


Status

Can POST a new RandomData, GET all or a specific one.


It`s not a recommended or even the correct way of doing a CRUD api of such sort, I'm just practicing