Git Product home page Git Product logo

github-header-image

iharnazarov

IHARNAZAROV's GitHub | Stats

GitHub Streak

Igor Nazarov's Projects

awesome-javascript icon awesome-javascript

🐢 A collection of awesome browser-side JavaScript libraries, resources and shiny things.

c0zystay icon c0zystay

Cozystay 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. In order to download and run the project ( It is assumed that Python 3 is already installed ): Install Django and Apps: pip install Django==3.1.4 pip install django-phonenumber-field[phonenumbers] Needed to create roles and admin account to add new employee accounts Change Directory to Django---Hotel-Management-System/HMS and start the Shell: python3 manage.py shell Then execute these, one by one: 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() Finally: Exit the shell and set the database: python3 manage.py makemigrations python3 manage.py migrate Then, start the surver python3 manage.py runserver This will work if correctly set up. Notes: Note 1: In the program, there are some payment page. No need to enter real credit-card informations. The payment page is just for the system, it doesnt work. However; after this page, a verification code is sent the user email address. Note 2: You can only sign up as a guest to the system. In order to add employee (Manager - Receptionist - Staff): Login in to the system with username: "admin" and password : "admin123" Go the employee page on options in navbar. Click "Add New Employee" button, fill the form and send it. You will see the success message. Then, you can use that employee to enter the system Note 3: For the email system (In some cases system sends e-mails): Go to the HMS/setting.py Under the settings file you can find the email settings, uncomment them in order to change the settings and put the email address you want to use to receive the rmails from the system.

free-for-dev icon free-for-dev

A list of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev

homeverse icon homeverse

Homeverse is fully responsive Real estate website

iptv icon iptv

Collection of publicly available IPTV channels from all over the world

javascript-algorithms icon javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

javascript-garden icon javascript-garden

A collection of documentation about the most quirky parts of the JavaScript language.

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.