Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinsmessias/go_rest_api
Go REST API
https://github.com/martinsmessias/go_rest_api
go golang golang-viper gorilla-mux gorm
Last synced: 4 days ago
JSON representation
Go REST API
- Host: GitHub
- URL: https://github.com/martinsmessias/go_rest_api
- Owner: MartinsMessias
- Created: 2022-03-01T02:04:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T02:06:43.000Z (almost 3 years ago)
- Last Synced: 2024-11-11T08:31:45.642Z (2 months ago)
- Topics: go, golang, golang-viper, gorilla-mux, gorm
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Rest API
#### Structure
```bash
├── controllers
│ └── controllers.go
├── database
│ └── db.go
├── dev.env
├── go.mod
├── go.sum
├── main.go
├── middleware
│ └── middleware.go
├── models
│ ├── config.go
│ └── personalities.go
└── routes
└── routes.go
```## Stack used
**Backend:** Go
**Database:** Postgres
## Environment variables
To run this project, you will need to add the following environment variables to your .env
`dbhost`
`dbport`
`dbuser`
`dbname`
`dbpassword`