Git Product home page Git Product logo

library_management_system's Introduction

Library_management_system

A simple library management system for displaying the online catalog for the library.

Installing the project

  1. Go to the directory on your machine where you want to store your project repositories: cd ~/projects (or something similar)
  2. Clone this repository: git clone https://github.com/nichatpratik/Library_management_system.git
  3. Change directory: cd library
  4. I have created a virtual environment: python3 -m venv ENV
  5. Activate the environment source ENV/bin/activate
  6. Install the dependencies: pip install -r requirements.txt
  7. Change directories to the django project: cd library

Now you are all set to run the Django management commands

Some common Django management commands you will want to use

  • python manage.py shell starts the Python interpreter that is Django aware.
  • python manage.py dbshell starts the shell for SQLite3 (or whatever RDBMS you configure)
  • python manage.py runserver runs your application on port 8000 (point your browser at http://127.0.0.1:8000)
  • python manage.py test catalog runs the test suite in the catalog/tests.py file
  • python manage.py makemigrations checks for changes to your models and makes a migration file
  • python manage.py migrate converts migration files to SQL and implements the changes in the database

Library Management System - Library Catalog

  1. 5 models - Book, Author, BookInstance, Genre and Language
  2. Book and author models are connected - foreign key. Book and Genre are connected using a many to many connection. Book and Language is connected - foreign key.
  3. 6 views - HomePage (index), BookList, BookDetailView, AuthorDetailView, ContactView. 6 Templates wrt to the views and a base template.
  4. One contact us form with template.
  5. Used Bootstrap along with my own CSS styles to style the pages.
  6. Included hyperlinks in the base template (Navigation panel) for good navigable website.
  7. Used Developed and customized Django admin site to accept data (Data creation) as well as display the data (list view).

Bonus features:

  1. Deployed the website on Heroku: https://library3104248805.herokuapp.com/
  2. Developed a login and logout feature to authenticate the users.
  3. Included session management - tracing visitor's activity on the homepage to show how many times a particular user (not necessary logged in) visited the website.

library_management_system's People

Contributors

pnichat avatar nichatpratik avatar

Stargazers

 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.