https://github.com/tonyv23/library_system
It's an application web developed in `python` with django framework and bootstrap4 and `mysql` as a database that allows readers to borrow books and the librarian to manage his library
https://github.com/tonyv23/library_system
boostrap4 django mysql-database python
Last synced: 3 months ago
JSON representation
It's an application web developed in `python` with django framework and bootstrap4 and `mysql` as a database that allows readers to borrow books and the librarian to manage his library
- Host: GitHub
- URL: https://github.com/tonyv23/library_system
- Owner: TonyV23
- Created: 2022-12-08T08:48:10.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-29T19:38:41.000Z (over 3 years ago)
- Last Synced: 2025-04-06T12:24:54.425Z (about 1 year ago)
- Topics: boostrap4, django, mysql-database, python
- Language: JavaScript
- Homepage:
- Size: 18.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conventions
- database settings :
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'library_db',
'USER':'root',
'PASSWORD':'',
'HOST':'localhost',
'PORT':'3306
}
}
- Before modify anything in the code of specific branch, synchronize your local code with the remote base by running:
`git pull --all`
- After
# How to name things
- variable: use snake case(ex: this_is_a_variable)
- constant: use snake case(ex: THIS_IS_A_CONSTANT)
- function: use camel case(ex: thisIsAFunction)
- class: use pascal case(ex: ThisIsAClass)
- form : use pascal case (ex: ThisIsAForm)
# Git rules
- Do not modify the code being in develop or master branch.
- Use git flow as workflow.
- Before modify anything in the code, synchronize the code with the remote base by running:
`git pull --all`
# Project structure
#### folder and files to work on
- app/
* forms/
define forms for app he
* models/
define here models app
* views/
define here views for app
* templating/
* app/
define here template for app
* static/
* app/
define here static files for app
- urls.py : used to define urls for app
- library_management_system/
* settings.py : used to setting up the project