https://github.com/raphaelbh/birthday-api
https://github.com/raphaelbh/birthday-api
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/raphaelbh/birthday-api
- Owner: raphaelbh
- Created: 2023-08-02T00:17:29.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-05T15:25:27.000Z (almost 2 years ago)
- Last Synced: 2025-01-25T20:11:27.536Z (4 months ago)
- Language: Go
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Development
```docker run --rm --net=host -it -v "$PWD":/usr/src/app -w /usr/src/app golang:1.20 bash```## Create module
- ```go mod init github.com/raphaelbh/birthday-api```## Install Dependencies
- ```go get github.com/gin-gonic/gin```
- ```go get github.com/gin-contrib/cors```
- ```go get gorm.io/gorm```
- ```go get gorm.io/driver/postgres```
- ```go get github.com/aws/aws-sdk-go/aws```
- ```go get github.com/aws/aws-sdk-go/service/s3```## Environment Variables
- ```export INTERNAL_DSN=""```
- ```export ACCESS_KEY=""```
- ```export SECRET_KEY=""```