Code Monkey home page Code Monkey logo

databases_2021's Introduction

Databases_2021

Database and UI for a hotel service.

Semester project for Databases course, 6th Semester 2021 of the Electrical and Computer Engineering School at the National Technical University of Athens.

In this project my partner and I created a database for covid-19 contact tracing at a hotel, ran some queries on it, and developed a simple UI to interact with it.

Relational diagram

Screenshot (1682)

Project details

We used Microsoft SQL Server to create our database. Code for creation of tables and constraints is in the file hoteltables.sql, while code for each table specifically is in the tables folder.

Mock data for the database can be added by running the file insertEverything.sql.

The files createViewCustomers.sql and createViewService.sql create two views for the database as instructed.

To connect with the database we use sql authentication so creating a user is necessary. The connection is done by XAMPP with included mssql-php configuration files.

The website is hosted locally, and its code is in file index.php. In lines 34-35 the details of the user created earlier must be added.

Website

Screenshot (1684)

Example of use

Screenshot (1687)

databases_2021's People

Contributors

qvapil avatar

Watchers

 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.