Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utilyre/lms
Library Management System (LMS)
https://github.com/utilyre/lms
api backend caching ci docker docker-compose go golang nosql postgres postgresql redis restful restful-api service sql
Last synced: 5 days ago
JSON representation
Library Management System (LMS)
- Host: GitHub
- URL: https://github.com/utilyre/lms
- Owner: utilyre
- Created: 2024-10-21T17:00:54.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-01-09T17:14:10.000Z (13 days ago)
- Last Synced: 2025-01-09T18:26:44.071Z (13 days ago)
- Topics: api, backend, caching, ci, docker, docker-compose, go, golang, nosql, postgres, postgresql, redis, restful, restful-api, service, sql
- Language: Go
- Homepage:
- Size: 529 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LMS
The Library Management System (LMS) is a backend API designed to provide the
core functionalities for managing a library's book collection and user
interactions.## Development
### Prerequisites
- [Docker Engine](https://docs.docker.com/engine)
- [Go](https://go.dev)
- [Goose](https://pressly.github.io/goose)
```bash
go install github.com/pressly/goose/v3/cmd/goose@latest
```### Steps
1. Create a .env file at the root of project:
```bash
DB_USER=admin
DB_PASS=secret
DB_PORT=5432
DB_NAME=lmsBE_PORT=8080
BE_JWT_SECRET=dontshare
```2. Spin up all services:
```bash
docker compose up
```3. Migrate:
```bash
goose -dir=migrations postgres [DSN] up
```