An open API service indexing awesome lists of open source software.

https://github.com/raulcv/golang-gorm-api

REST API with Golang
https://github.com/raulcv/golang-gorm-api

air go golang gorilla-mux postgres postgresql rest-api

Last synced: about 2 months ago
JSON representation

REST API with Golang

Awesome Lists containing this project

README

          

## 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:

```bash
go run main.go
```

------------------------------------------------------------------------


With :heart: by raulcv