Giter Site home page Giter Site logo

libraryapp's Introduction

Hi there πŸ‘‹

  • 😊 I'm MarkΓ©ta
  • 🌱 I’m currently focused on Python 3 and Django Framework

libraryapp's People

Contributors

baruli avatar daniela-design avatar marketulinek avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

libraryapp's Issues

Add footer with contacts

To the base.html add footer with three cards. Each card represent one of the developers of this application. Cards can be linked to developer's site/github/linkedin/or anything else. Can be specified later and individually.

Add more details to README.md

It would be nice to have detailed information about our project πŸ“œ

  • what it is about
  • who work on it
  • who guide us
  • dependencies
  • how to run project
  • used tools
  • other ideas

No need to rush it. I just put it here so we'd remember.

Forfeiting expired reservation

Add button for forfeiting expired reservation in open_reservation_list.html. When readers didn't retrieve the reserved book in time so the librarian can change the status to Forfeited.

403 Forbidden Page

Create nicer HTML page. This page is shown to the user when he visit page without permission (he's not authorized).

Create base.html with basic usage

Create base.html file with basic HTML for our app

  • <html>, <head>, <body>, ...
  • menu / navigation bar
  • at least one {% block content %} for main content
  • anything else you can think of

Other templates will then extends from it.

It's just for a start πŸš€ Later we can improve this file according to our needs.

Add navbar item for librarian actions

Librarians should have access to add new data-content to library collections (authors, publishers and so on). To see overview of loans and reservations. More ideas welcome.

Create My Account overview

  • membership end date
  • number of borrowed books
  • number of open reservations
  • messages from library
  • history of lendings
  • my rating of books
  • alert messages (for example: end date lending is approaching)

Add model RESERVATION

Fields:

  • user ID
  • book ID
  • created at
  • book available at
  • termination type (reservation completed, reservation cancelled, reservation forfeited)

Librarian Actions - Book reservations page

Create page for the list of open book reservations.

  • if appropriate, use django-tables2
  • button for completing open reservation - when readers come to retrieve the reserved book by them so the librarian can change the status of reservation to Completed
  • button for forfeiting expired reservation - when readers didn't retrieve the reserved book in time so the librarian can change the status to Forfeited

When reserved book is available at library, the reader has 5 days to retrieve the book (the number of days can be discussed).

Create constants.py

File for registering variables as constants representing library rules logic.

For example:

# Integer represents number in days
DURATION_OF_MEMBERSHIP = 365
MAX_LOAN_PERIOD = 30
...

Librarian Actions - Book loans page

Create page for the list of borrowed books.

  • if appropriate, use django-tables2
  • button for completing loan - when readers come to return borrowed books
  • differentiate books after deadline if they aren't returned yet so the librarian can scold the reader πŸ‘Ώ

Set up test file

  • create class for testing views
  • create setUp method
  • create client
  • create user for testing

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.