Skip to content

raulcv/golang-gorm-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Rest full in Golang, GorillaMux, postgres database and gorm ORM.

  • GET
  • POST
  • PUT
  • DELETE

Postgres database to save data

This project uses the following technologies:

  • Golang
  • Gorilla/mux
  • Postgress
  • air | ☁️ Live reload for Go apps - only for development

For running this project, execute the following command:

It needs to be installed golang.

  • Clone this project with Git
  • Open in some IDE
  • create .env file in the main root of the project and type your postgres database credentials.
    • You can use a docker container with docker postgres image to create a postgres database, laso you can use some online free limited database like supabase for development.
  • type in the terminal, located on your project folder, type:
go run main.go

With ❤️ by raulcv