Coder Social home page Coder Social logo

lib925's Introduction

README

Library booking system

You can refer to the README.txt file in this repository for a more direct and better-formatted guide.

Preconfigured Admin: Email: [email protected] Password: dagedage

You can use preconfigured admin to log in as an admin.

When logged in as Admin:
Welcome Page: click Main Page button in navigation bar, you can enter the welcome page for this booking system.
Edit her/his profile : Click the Edit Your Profile button in navigation bar, you can change the Name, E-mail and passward for this user.
Manage Admins:
(1) Click the New Admin button in navigation bar, you can add a new admin user to this system.
(2) Click the All Users button in navigation bar, you can see all the user's profile details. You can also edit or delete a user by "edit" or "destroy".
(3) Click on My Bookings button in navigation bar, you can see all your bookings. You can delete or edit your bookings here.
(4) Click on All History button in navigation bar, you can see all the booking history in this booking system.

Manage Rooms:
(1) Click the All Rooms button in navigation bar, you can see all the rooms in the system.
(2) You can add a room by clicking on the New Room botton.
(3) You can click on the Show room information button to see the details of a room.
(4) You can edit or delete a room using the Edit and Delete button.
(5) You can click on the Show booking history button to see the history of all bookings of a room.
(6) You can booking a room for yourself clicking on Add Booking button.
(7) You can search for a room by Name, Building, Size or Status by the searching forms below.

Manage Library Members:
(1) Click the All Users button in navigation bar, you can see all the user's profile details.
You can edit the profile of these users or delete these users except the user itself and the preconfigured admin.
(2) Click the See his/her booking history, you can see the user's history.
Click the See his/her upcoming bookings, you can see the user's bookings in the future.
(3) Click the book for him/her , the admin can book rooms for the members.

You can register as a library member

When logged in as a library member:
(1) You can edit your profile by clicking on Edit Profile button.
(2) Click the All Rooms button in navigation bar, you can see all the rooms in the system.
(3) You can search for a room by Name, Building, Size or Status by the searching forms below.
(4) You can click on the Show room information button to see the details of a room.
(5) You can booking a room for yourself clicking on Add Booking button.
(6) You can see all your bookings clicking on My Booking button in navigation bar. You can edit or delete your booking here.
(7) Click on My Bookings button in navigation bar, you can see all your bookings. You can delete or edit your bookings here.

edge case scenarios:

(1) If the admin deleted a member, all the bookings in the future and booking history of that member are also deleted.
(2) If the admin deleted a room, all the bookings in the future and booking history of that room are also deleted.
(3) If an admin who is not the preconfigured admin tries to delete itself or delete the preconfigured admin, the system will pop up an error message.
(4) If the preconfigured admin tries to delete itself, the system will pop up an error,too. The attempt will be prevented.
(5) If a user tries to book a room ahead of the present time or 7 days after present time, there will also be an error. This attempt will be unsuccessfull.
(6) If a library member request to book the same room multiple times, only when the slot is not available(time conflict detected) will the request be rejected. If the member book the same room from 2pm to 4pm and then 5pm to 7pm, these 2 requests will both be successfully created.
Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help

lib925's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.