Giter Club home page Giter Club logo

web-crud-app's Introduction

Rbike - bike rental

Model

topic

Tabels

Table Customer

FIELD NAME TYPE REQUIRE DESCRIPTION
ID_customer integer yes Primary key
Name varchar yes Customer name
Surname varchar yes Customer surname
Telephone varchar no Customer telephone
Email varchar yes Customer e-mail
Password varchar yes Customer password

Table Bike

FIELD NAME TYPE REQUIRE DESCRIPTION
ID_bike integer yes Primary key
Brand varchar yes Bike brand
Model varchar yes Bike model
Colour varchar yes Bike colour

Table Rental

FIELD NAME TYPE REQUIRE DESCRIPTION
ID_rental integer yes Primary key
Customer_ID_customer integer yes Foreign key - table Customer
Bike_ID_bike integer yes Foreign key - table Bike
Date_from datetime yes Rental date from
Date_to datetime yes Rental date from
Equipment tinyint yes Bike equipment

Table Accessory

FIELD NAME TYPE REQUIRE DESCRIPTION
ID_accessory integer yes Primary key
Name varchar yes Accessory name

Table Equipment

FIELD NAME TYPE REQUIRE DESCRIPTION
ID_equipment integer yes Primary key
Bike_ID_bike integer yes Foreign key - table Bike
Accessory_ID_accessory integer yes Foreign key - table Accessory

User roles

Unlogged user

  • log in
  • register a new user
  • change language
  • review non-sensitive data from tables: Customer, Bike and Accessory

Logged user

  • change language
  • review details from tables: Customer, Bike and Accessory
  • review only own rentals and their details
  • add new own rentals

Admin

  • change language
  • register a new user
  • review details, add new and update them from table Customer
  • review details and delete them from table Accessory
  • review details, add, update and delete them from tables: Bike and Rental
  • assign accessories to the bike

web-crud-app's People

Contributors

zg3z 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.