-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pratama.sumirat
committed
Aug 24, 2022
1 parent
178ad3b
commit 0b257e4
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# go-gin-gorm-books | ||
CRUD Books with Gin and Gorm | ||
This project is a CRUD Books where you can create, get all books, get a single book, update a book and delete a book. This project is for learning purposes. | ||
|
||
## Stacks | ||
- Go | ||
- Gin | ||
- Gorm | ||
- Viper | ||
- PostgreSQL | ||
|
||
|
||
## Prerequisites | ||
1. Go | ||
2. PostgreSQL (and a Database) | ||
|
||
## Installation | ||
1. Clone this repo `git clone https://github.com/sumirart/go-gin-gorm-books.git` | ||
2. Cd into the folder `cd go-gin-gorm-books` | ||
3. `go install` | ||
4. Rename the `.env.example` to `.env` in `pkg/common/envs` | ||
5. Change the fill in `.env` which is port, DB user, DB password, DB server address and DB name | ||
|
||
## Usage | ||
`make server` | ||
|
||
## License | ||
[MIT](https://choosealicense.com/licenses/mit/) |