https://github.com/newmizanur/forumapi
https://github.com/newmizanur/forumapi
gin go gorm postgresql
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/newmizanur/forumapi
- Owner: newmizanur
- Created: 2020-06-08T15:12:03.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-09T16:34:40.000Z (about 6 years ago)
- Last Synced: 2025-10-07T07:04:12.914Z (9 months ago)
- Topics: gin, go, gorm, postgresql
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Forum Api using Go,Gin and Gorm
* Copy .env.example file as .env ```cp .env.example .env```
* Run specific test ```go test -v --run TestDeletePost```
* Run all test ```go test -v```
* Run all test recursively ```go test -v ./...```
* Run application ```docker-compose up```
* Run application as daemon ```docker-compose up -d```
* Run all test at docker ```docker-compose -f docker-compose.test.yml up --build --abort-on-container-exit```
* Stop docker container ```docker-compose down```
* Remove docker container and volumes ```docker-compose down --remove-orphans --volumes```
* Remove unused images ```docker system prune -a```