This is the offical readME file for our IoTBay project. Within this file, will contain the nessecary steps to use our program.
Before using the application, the database URL, username and password for your database must be changed in the following file (assumes you're using NetBeans to view the files):
- Source Packages -> uts.isd.model.dao -> DB.java
SQL files must be run.
- createDatabase.sql - this will ceate the IoTBay schema, database tables and insert sample data
When a users launches the site, the user will be greeted with our store's home page. Here the user can interact with our site through the nav links in the navigation bar. Some of these links include
- Create an account
- View Products
- Search Products
- View Cart
- Login
- Manage Details
- About Us
If a customer wishes to create an account with the site, they must follow these steps.
- Go to the register tab at the top right of the site.
- Once they have clicked the tab, they will be greeted with a registration form where they will have to enter their details in relevant sections of the form.
- Once they have entered their details, they must submit the form, where it will be checked.
- Once it has been checked, their account will be added to the database, and the user will be logged in, with the data being stored in session.
- If the details are invalid, the user will be redirected to the register page with the relevant error message.
If a user would like to log in:
- Go to the login tab at the top right of the site.
- Once they have clicked the tab, they will be greeted with a login form where they will have to enter their email and password.
- The details will be compared with the database entries.
- If the details are matched, all details for that entry will be stored in the session, and the user will be logged in.
- If the login details don't match, the user will be redirected to the login page with the relevant error message.
If a user would like to manage their details:
- Go to the account tab at the top right of the site.
- Once they have clicked the tab, they will be greeted with a page where they can manage their details, change password, and delete their account.
- The 'Manage Account Details' page allows the user to change the personal details, i.e name, email, phone number.
- The 'Change Password' page allows the user to change their password.
- The 'Delete Account' page allows the user to delete their accounts.
If a customer wishes to purchase products from the site, they must follow these steps. 1.
If a customer wants to browse the store, follow:
- Open IoTBay website.
- Navigate through different sections.
If a customer would like to search the catalogue, follow:
- Type in the types related to the product(component, kit).
- Once submitted correct type, the result will be shown.
- If the type is not found in the db, the output will be blank.