Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)