Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rezairfanwijaya/book-store
https://github.com/rezairfanwijaya/book-store
api authorization backend gin go gorm-orm jwt-authentication mysql restful-api
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rezairfanwijaya/book-store
- Owner: rezairfanwijaya
- Created: 2023-06-06T08:39:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-09T03:36:20.000Z (over 1 year ago)
- Last Synced: 2024-11-05T10:41:11.972Z (about 2 months ago)
- Topics: api, authorization, backend, gin, go, gorm-orm, jwt-authentication, mysql, restful-api
- Language: Go
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Book Store
This repository provides services for managing books and authors
## Run Locally
#### Clone the project
```bash
git clone https://github.com/rezairfanwijaya/book-store.git
```#### Go to the project directory
```bash
cd book-store
```#### Get Dependency
```bash
go mod tidy
```#### Open the project with your favorite text editor
#### Setup ENV
##### Edit the .env.example file to .env and adjust it to the env that you will use
##### example :
```bash
USERNAME="root"
PASSWORD="yourpass"
HOST="yourhost"
PORT="yourport"
DATABASE_NAME="your_book_store"
SECRET_KEY="your-secret"
```#### Run application
```bash
go run main.go
```## API Documentation
[API DOCS](https://documenter.getpostman.com/view/11940636/2s93sabtqE)