Nau-c / testbookingengine

Test Booking Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PMS

A small open-source PMS app made with Django.

Live Demo

https://chapp-inn.herokuapp.com/

Stored data

  • Type of rooms: name, n° of guests and price per day
  • Rooms: name, description
  • Customers: name, email, phone
  • Bookings: checkin, checkout, total guests, customer information, total amount

Features

  • Create, delete and check bookings for each room
  • Check room availability
  • Find bookings by code or customer name
  • Dashboard with bookings, incoming and outcoming customers, total invoiced
  • Get detailed information about each room
  • Edit customer information

Local Deployment

To deploy this project locally run

Using Docker

    docker compose -f docker-compose.yml up

Using Virtualenv

    pip install virtualenv
    virtualenv pms
    source pms/bin/activate
    pip install django
    git clone https://github.com/vsa-ok/chapp_pms
    cd chapp_pms
    pipenv sync
    python manage.py runserver

Django admin (/admin)

Use for username and password for superuser is "admin" (without quotes).Remember to change it.

Warnings

  • SECRET_KEY should be stored in .env file for production!
  • DEBUG is set to TRUE.

TODO List / Improvements

  • Handle and create error pages
  • Validate dates for checkin/checkout in serverside
  • Check for room availability exactly before save data in DB
  • Change date or define date range in dashboard
  • Improve and add more data in dashboard

License

MIT License

About

Test Booking Engine


Languages

Language:JavaScript 43.4%Language:CSS 36.9%Language:Python 12.6%Language:HTML 6.9%Language:Dockerfile 0.2%Language:Procfile 0.0%