Skip to content

I want to learn Go, so I implemented a basic API with Fiber and Gorm.

License

Notifications You must be signed in to change notification settings

patozavala/go-fiber-postgres-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO-CRUD

I want to learn Go, so I implemented a basic API with FIBER and GORM which implements:

  • CRUD operations for a simple Users model
  • Users login where JWT is used
  • CRUD operations for a simple blog model (connecting to users by foreign key)
  • Connection to a database (I used postgresql)
  • Environment variables with godotenv

Disclaimer

This is an introductory project to look how Go works. This project is not production ready and it has some bad practices. All improvements and comments are very welcome.

Future work

Some improvements need to be implemented before the app is ready for production

  • Implement middlewares
  • Implement testing
  • Accelerate queries
  • Add descriptions and metadata to functions

About

I want to learn Go, so I implemented a basic API with Fiber and Gorm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published