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
- Host: GitHub
- URL: https://github.com/raulcv/golang-gorm-api
- Owner: raulcv
- Created: 2023-01-15T10:02:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T01:41:49.000Z (over 3 years ago)
- Last Synced: 2023-12-16T14:44:33.365Z (over 2 years ago)
- Topics: air, go, golang, gorilla-mux, postgres, postgresql, rest-api
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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