Creating a Backend library management system which can be used in real life with Go and PostgreSQL. Using chi for router and pgx for communication between DB and serrver. For postgresql I am using a postgresql in a docker cotainer.
- go version 1.16 +
- postgreSQL
- create a database and add it's url in .env as DB_URL
- run
make run
- POST
`
`
- Create Books
- Add author if not exsists
- Check Book if exists
- API handlers
- Create Instances of book
- Link instances to book
- loan instances to members
- Users/Admin Authentication
- User Authorization
- Loan books
- create new loan
- delete old loan
- change status of instance
- check if member active
- late fees functionality
- frontend