Loading repository data…
Loading repository data…
okanuregen / repository
It is a Hotel Management System that developed with Django - Python. Database tables have been created according to normalization rules.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Requirement Analysis Document - System Design Document - Object Design Document - Mockups - Class Diagram - ER Diagram are in the "Documents" Folder.
It is hotel management system which has 5 different user types: Admin - Manager - Receptionist - Staff - Guest (Each of the types have different permission and functionality.)
There are some screenshots of the program on "Screenshots" folder.
pip install Django==3.1.4
pip install django-phonenumber-field[phonenumbers]
python3 manage.py shell
from django.contrib.auth.models import Group, User
from accounts.models import Employee
Group.objects.create(name='admin')
Group.objects.create(name='manager')
Group.objects.create(name='receptionist')
Group.objects.create(name='staff')
Group.objects.create(name='guest')
user = User.createuser=User.objects.create_user('admin', password='admin123')
group = Group.objects.get(name="admin")
user.groups.add(group)
admin = Employee(user=user, salary=0)
admin.save()
python3 manage.py makemigrations
python3 manage.py migrate
Then, start the surver
python3 manage.py runserver