https://github.com/wnderbin/bookhub
BookHub is a storage website where you can share your books with other users
https://github.com/wnderbin/bookhub
backend book-website go golang website
Last synced: over 1 year ago
JSON representation
BookHub is a storage website where you can share your books with other users
- Host: GitHub
- URL: https://github.com/wnderbin/bookhub
- Owner: wnderbin
- Created: 2025-03-19T08:58:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T09:26:25.000Z (over 1 year ago)
- Last Synced: 2025-03-19T10:22:04.865Z (over 1 year ago)
- Topics: backend, book-website, go, golang, website
- Language: Go
- Homepage:
- Size: 1.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# BookHub


Table of Contents
## About the BookHub project
BookHub is a storage website where you can share your books with other users.
### Built with:
[](https://skillicons.dev)
* **Go** - Backend
* **Html & Css** - Frontend
* **MySQL** - DBMS, data storage
* **Bash** - Scripts (website launch)
## Getting Started
Instructions on how to run a project locally
### Dependencies
* **MySQL driver** - github.com/go-sql-driver/mysql
* **gorilla/mux** - github.com/gorilla/mux
### Installation and Launch
```
git clone https://github.com/wnderbin/BookHub # clone the repository
```
```
cd BookHub/scripts # go to the directory with scripts
chmod +x run.bash
./run.bash # running script
```
#### !!! Before running the project, make sure that your MySQL database is running with the following parameters:
* **books** - user
* **pass** - password
* **web_books** - database
* **localhost** - ip address (127.0.0.1)
* **3306** - port
## Project structure
**BookHub**: Project directory \
├─ **cmd/web_books** - Directory with executable module\
├─ **internal** - Additional modules\
├─ **handlers** - Directory with handlers\
└─ **mysql** - Directory with commands for MySQL\
├─ **scripts** - Directory with scripts for running the project\
└─ **ui** - user interface (html/css)
## License
Before using the project, it is recommended to read the license
## Author:
* wnderbin