Skip to content

Simple project with main tools used in professional GoLang Projects

Notifications You must be signed in to change notification settings

roronoadiogo/Simple-Bank-GoLang

Repository files navigation

📚 Simple bank example using GoLang

This project it's to understand the mainly tools used for language GoLang to API services, ORM, Migration and another stuffs to fixed the knowledge adquired.

🔧 Setup and Tools used

  • GoLang 1.20
  • SQLC to generate models (in discussion to check other GO ORM's)
  • MigrationDB
  • GoDotEnv
  • Docker
    • Postgres Alpine 12

This list does not complete yet, will increase with the time.

🎯 Goals

  • Understading the tools most commom used with GoLang

  • Implementation using Docker to configuration in the enviroment

  • Produce a front to consume the API (In discussion if Angular or VueJs)

  • Try adopt the best pratices for GoLang Projects

  • Understand the tests with GoLang

🚀 Using the project

  • Open a terminal in the directory root this project and run:
user@machine:~$ make postgres
  • Create the database in the image of postgres
user@machine:~$ make createdb
  • Run the migrateDB to use the version of database until the moment
user@machine:~$ make migratedb

This documentation it's not complete, I'm still working on this resource to automatization better

💾 Database initial version

Initial version

This is not definitive yet, in discussion the of domain of bussiness.

About

Simple project with main tools used in professional GoLang Projects

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published