marinellirubens / dbwrapper

Project to practice golang, the idea is to create and wrapper for databases requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbwrapper

Project to practice golang, the idea is to create and wrapper for databases requests

My goal is to create an api to do the basic operations on the database, to be inserted on legacy systems, that can do - http requests but change to include a specific database may be complicated or ad some extensive change.

At first I want to create conections with postgresql, oracle, mysql and mondodb.

Not sure yet how to structure the usage, but will try the connections first and organizing the results, returning always a list with json objects inside.

When the project will be concluded

This section is just so a I can have the completion feeling and a goal to achieve

  • When I can do on databases (postgres, oracle, mysql, mongodb, redis) the "equivalent" operations for (select, update, delete, insert)
  • JWT authentication
  • log rotation implemented
  • cli implemented

references

golang connections pooling

nginx workers

deployment golang + nginx

creating rest api with only native modules

handle routing without using a framework

error handling good practices

basic logging in golang:

Anthony GG series on creating a golang REST API with almost no external packages:

About

Project to practice golang, the idea is to create and wrapper for databases requests


Languages

Language:Go 96.7%Language:Shell 3.1%Language:Makefile 0.2%