Git Product home page Git Product logo

django-orm-grind's Introduction

Assignment: Library Management System API

Your task is to design and implement a RESTful API for a simple library management system using Django and Django REST Framework. The system should have the following features:

Features

Book Management

The API should allow the library to manage their books. This includes operations like adding a new book, updating a book's details, deleting a book, and viewing details of a book. Each book should have the following details:

  • Title
  • Author
  • Published Date
  • ISBN number
  • Pages
  • Cover image (URL)

User Management

The API should allow the library to manage their users. This includes operations like adding a new user, updating a user's details, deleting a user, and viewing details of a user. Each user should have the following details:

  • Name
  • Email
  • Date of Birth
  • Membership Status (Active/Inactive)

Borrowing and Returning Books

The API should allow a user to borrow a book from the library. When a book is borrowed, the system should keep track of which user has borrowed the book and when it is due to be returned. The system should also handle the returning of books.

Overdue Books

The API should provide a way to view all books that are currently overdue.

Search

The API should provide a way to search for a book by its title or author.

Unit Tests

Write unit tests for your models and views to ensure that they are working as expected.

Remember to use Django's ORM for database operations. You can use SQLite for the database as it's easy to set up and use.

django-orm-grind's People

Contributors

vkhinvasara avatar

Watchers

 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.