Skip to content

rmit-nct/neo-rust-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NCT Rust Library 📚

███╗   ██╗ ██████╗████████╗     ██████╗ ██╗   ██╗ ██████╗████████╗       
████╗  ██║██╔════╝╚══██╔══╝     ██╔══██╗██║   ██║██╔════╝╚══██╔══╝  
██╔██╗ ██║██║        ██║        ██████╔╝██║   ██║╚█████╗    ██║
██║╚██╗██║██║   ██╗  ██║        ██╔══██╗██║   ██║ ╚═══██╗   ██║ 
██║ ╚████║╚██████╔╝  ██║        ██║  ██║╚██████╔╝██████╔╝   ██║ 
╚═╝  ╚═══╝ ╚═════╝   ╚═╝        ╚═╝  ╚═╝ ╚═════╝ ╚═════╝    ╚═╝ 

A simple library management system built in Rust with user authentication, book management, and borrowing functionality.

Features

  • User Management: Sign up and login with different roles (Customer, Librarian, Admin)
  • Book Management: Add, view, and manage books in the library
  • Borrowing System: Customers can borrow and return books
  • Fund Management: Customers can add funds to their account
  • Role-based Access: Different functionality based on user role

Getting Started

  1. Prerequisites: Make sure you have Rust installed
  2. Run the application:
    cargo run

Usage

  1. Sign up with a username, password, and role
  2. Login to access the library system
  3. Customers can browse books, borrow/return books, and manage funds
  4. Librarians can manage the book inventory
  5. Admins have administrative privileges

Project Structure

src/
├── Models/          # Data structures (Book, User, Borrower, Librarian)
├── Services/        # Business logic (Auth, Book, Borrowing, User services)
└── main.rs         # Application entry point

Created by

Nguyen Nghia Hiep, Tran Vinh Trong and Duong Phu Dong

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages