Cork City Bikes https://www.bikeshare.ie/
Transport for Ireland Bikes rent bikes to tourists and general commuters all over Ireland, with locations in Cork, Limerick, Galway and Waterford. In Cork, there are 36 stations all over the city where a bike can be rented from one location and cycled to another station. In this project, there is only a requirement to allow for 5 bike stations (numbered from 1 to 5 and each containing 10 bikes), dotted around the city.
Customers can sign up for an annual subscription or avail of a 3-day pass. Costs are as follows:
• The first half hour is free.
• Up to an hour is 50c.
• Up to 2 hours is €1.50. • Up to 3 hours is €3.50.
• Up to 4 hours is €6.50.
• After that is an additional €2.00 per half hour.
Sign in
A new customer must create a 4-digit PIN, which must be confirmed. The customer must accept the terms and conditions and then set up an account.
An existing customer can log in using their 4-digit PIN but it must match a PIN already set up.
Setting up an account
When signing up for an annual subscription, the user enters the following personal details:
• First name (letters, spaces, and a single apostrophe only)
• Last name (letters, spaces, and a single apostrophe only)
• Date of birth (only those aged 14 or over can legally avail of the service)
• Gender
• Email address
• Mobile number
• Address (up to 3 lines, but 1 line is sufficient)
• County (if Ireland) and
• Country (if not Ireland).
Once those details are entered, the customer is invited to enter their:
• Credit card number (16-digit) number.
• Credit card expiry date and
• Credit card security code (a 3-digit number)
• A top-up amount (at least €10).
An annual subscription costs €10 and a 3-day pass costs €3. In both cases, a deposit of €150 must be paid in case the bike is lost or damaged by the customer.
Renting and returning a bike
When a customer wants to rent a bike, they go to the nearest bike station and enter their PIN. They then enter the number of bikes that they want to rent, unlock the bike(s) (if available) and cycle away. If a customer isn’t sure of what to do they can access a help facility or a FAQ facility at the station.
When they return their bike, they enter their PIN and lock the bike into the bank. The cost of renting the bike for that session is printed and dispensed. If the customer does not have enough money on their Cork City Bikes account, they are advised that the required amount will be debited from their credit card amount.
Bike maintenance
If a customer notices that a bike is damaged, they are asked to report it via a station reporting terminal. They enter the serial number of the bike and a brief description of the fault. The system automatically locks this bike from renting. The details of the bike are added to the maintenance log.
The maintenance department routinely collect damaged bikes from stations and bring them to the garage. As each bike is repaired, its serial number, repair, date of repair and time of repair are sent to the repaired log and removed from the maintenance log.
When the number of bikes in a station is 3 (or less than 3), the maintenance department is alerted of the station number and the number of bikes remaining. They immediately look at the current state of the bikes across the station and will move bikes from one station to another, ensuring if possible that there are at least 5 bikes in every station.
The PIN for the maintenance department is 1111.
Reporting
The manager of TFI Bikes wants to be able to see, at any time, the revenue generated at each station and the overall total.
The PIN for the manager is 2222.
You are required to design, code and test an application for the City Bikes using prototyping and rapid application development.
Submit
1. The design of your project.
This should include all the preliminary work for your project i.e. all the work that you prepared using prototyping and rapid application development, to produce the final product.
2. The screen layouts scanned into a word document.
3. The source code copied into a word document.
This should include the code for all the forms that you have used in your project and any Additional code (e.g. module code).
4. How you tested your program.
The testing that you carried out on each implemented prototype should be shown. This should include testing of the functionality of the program and of any other tests e.g. data validation, key checking etc. That you carried out to ensure that your program is robust. This should be saved into a document.
5. The program files
All files should be zipped to be uploaded to Moodle include the entire JavaFX package/project and any additional files that you have used in the program.
Marks will be allocated as shown on the cover page.