Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jazaltron10/library-management-app

A Library Management App
https://github.com/jazaltron10/library-management-app

echo-framework golang gorm mysql reactjs styled-components

Last synced: 3 days ago
JSON representation

A Library Management App

Awesome Lists containing this project

README

        

# 📚 Library Management System

Welcome to the Library Management System, a sophisticated solution for managing your library's book collection. This project combines the power of Golang for the backend and React for the frontend, providing an intuitive interface to handle all your library's needs.

## 🌟 Features

- View the complete list of books in your library.
- Seamlessly add new books to the collection.
- Effortlessly update existing book information.
- Swiftly remove books from the library.

## 📂 Project Structure

```plaintext
library-management-system
|-- backend
| |-- cmd
| | `-- main.go
| |-- internal
| | |-- handler
| | | `-- book_handler.go
| | |-- model
| | | `-- book.go
| | `-- repository
| | `-- book_repository.go
| |-- go.mod
| `-- go.sum
|-- frontend
| |-- src
| | |-- components
| | | |-- Books.js
| | | |-- BooksList.js
| | | `-- index.js
| | |-- App.js
| | `-- index.html
| |-- .gitignore
| |-- package.json
| `-- vite.config.js
|-- .gitignore
|-- go.mod
|-- go.sum
|-- README.md
```

## 🚀 Getting Started

### Prerequisites

- [Golang](https://golang.org/) installed on your machine.
- [Node.js](https://nodejs.org/) installed on your machine.
- [npm](https://www.npmjs.com/) or [Yarn](https://yarnpkg.com/) for managing frontend dependencies.

### 🛠️ Running the Application

1. **Start the Golang Backend Server:**

```bash
cd backend
go run cmd/main.go
```

The backend server should be running at http://localhost:8080.

2. **Start the Vite React Frontend:**

```bash
cd frontend
npm install
npm run dev
```

The frontend application should be accessible at http://localhost:3000.

3. **Interact with the Application:**

Open your web browser and visit http://localhost:3000 to explore the Library Management System.

## 🔍 Troubleshooting

If you encounter any issues or errors, please check the troubleshooting section in the README or feel free to seek assistance.

## 🤝 Contributions

Contributions are warmly welcomed! If you find improvements or have suggestions, open an issue or create a pull request.

## 📜 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.