Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josesalasdev/book-shop
Book Shop is an API template inspired by a book buying and selling service with multiple functions such as authorization, authentication, publishing, sales, inventory and others, allows it to be a guide for developers starting to code in golang.
https://github.com/josesalasdev/book-shop
api docker docker-compose gin go gorm postgresql
Last synced: 2 months ago
JSON representation
Book Shop is an API template inspired by a book buying and selling service with multiple functions such as authorization, authentication, publishing, sales, inventory and others, allows it to be a guide for developers starting to code in golang.
- Host: GitHub
- URL: https://github.com/josesalasdev/book-shop
- Owner: josesalasdev
- License: mit
- Created: 2021-05-17T21:58:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-16T02:06:00.000Z (over 3 years ago)
- Last Synced: 2024-09-30T07:21:33.438Z (3 months ago)
- Topics: api, docker, docker-compose, gin, go, gorm, postgresql
- Language: Go
- Homepage:
- Size: 123 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Book Shop
Book Shop is an API template inspired by a book buying and selling service with multiple functions such as authorization, authentication, publishing, sales, inventory and others, allows it to be a guide for developers starting to code in golang.
## Starter
1. Environment: You can define your environment variables in the file `.env` and use the `.env_example` file as an example.
2. Start the service: There are two ways:
- Docker:```bash
docker-compose up
```
- Golang:```bash
go run src/main.go
```## API Docs
You can consult the documentation of the resources through the following url:
* http://localhost:8080/swagger/index.html
## License
The license for this project is MIT and you can check it [here](LICENSE)
## CONTRIBUTING
If you want to contribute to the project, keep the following in mind [📖](CONTRIBUTING.md)