Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newmizanur/forumapi
https://github.com/newmizanur/forumapi
gin go gorm postgresql
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/newmizanur/forumapi
- Owner: newmizanur
- Created: 2020-06-08T15:12:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-09T16:34:40.000Z (over 4 years ago)
- Last Synced: 2023-04-09T01:40:41.461Z (over 1 year ago)
- Topics: gin, go, gorm, postgresql
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- 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```