Hollicint / MYTINERATOR

Academic Internship - Group 6: Travel Tracker Web Application
0 stars 0 forks source link

Readme.file write up #41

Open Hollicint opened 4 months ago

Hollicint commented 4 months ago

Table of Contents

MYTINERATOR

MYTINERATOR is a User-Friendly platform that allows a User to track, budget, and store their travel itinerary. This includes APIs that help the User choose their next location from Flights, destination information, and weather.

How to Install project

Packages need to install

node js - node -v nodemon - npm install -g nodemon package.json file - npm init package.json file locked -npm install lodash Npm install - npm install Express Apps - npm install expres npm install mongoose npm install method-override npm install cypress npx cypress open npm install swagger-jsdoc swagger-ui-express --save

Run the Project

Open project in Visual Studio code

How to Use the Project

Once the site is running the User will be shown these nav options. image

Home [index page]

User will be able to Register Account or Login to their account. image This page also informs the user of their Subscription packages

Itinerary

User will be able to complete a form which will store their past, present and future ItineraryDetails image Once complete the information will appear below the form. If the User clicks on the destination Name: eg Spain
image This will direct the User to a single page that will display the Itinerary details, from here the User will be able to Edit and Delete the input. They will also be able to go back to the Itinerary pages image

Budget

This page contains a Budget Calculator that will allow the user to input a expenditure Limit and they will be able to add and subtract inputs and will see below the total. The User needs to input the costing eg: limit is €500 spent -200 Total will be € 300 image image

Accommodation

The accommodation page is yet to be complete but will display Accommodation options for the User in their destination location or any deals that the site has with companies that are located in the area

Account

The account page will display the information that they have added at registration. This will also display the Users personal image or avatar.

Contact

The contact page will allow the User to send a message to the Customer support team that will respond to the customer via the information inputted in the form image

Destination

This page is an API that will display the weather in a certain location along with flights in that country at that certain time image

Rentals

The rentals page is yet to be complete but will display rental options for the User in their destination location or any deals that the site has with companies that are located in the area

Include Credits

HOLLY DOWLING : X21150117 - x21150117@student.ncirl.ie SHANE BURK : X21110018 - x21110018@student.ncirl.ie ALEX REGINELLI : X20232357 - x20232357@student.ncirl.ie NALADUN CONNAUGHTON : X20239262 -X20239262@student.ncirl.ie

Hollicint commented 4 months ago

Might need to add the testing

Hollicint commented 3 months ago

Review of report advise needs the db information

DATABASE CONNECTION

Create the database

CREATE DATABASE MytinApp;

Use the database

USE MytinApp;

Create the table for Itineraries

CREATE TABLE Itins ( ItinID INT AUTO_INCREMENT PRIMARY KEY, Destination VARCHAR(255) NOT NULL, Date DATE NOT NULL, LengthOfStay INT NOT NULL, TotalCost DECIMAL(10, 2) NOT NULL, AccommodationType VARCHAR(255) NOT NULL, AccommodationName VARCHAR(255) NOT NULL, AccommodationCost DECIMAL(10, 2) NOT NULL, Rental ENUM('Yes', 'No') NOT NULL, RentalType VARCHAR(255), RentalCost DECIMAL(10, 2) );

Insert sample data into the Itins table

INSERT INTO Itins (Destination, Date, LengthOfStay, TotalCost, AccommodationType, AccommodationName, AccommodationCost, Rental, RentalType, RentalCost) VALUES ('Paris', '2023-06-15', 7, 1200.00, 'Hotel', 'Hotel Paris', 700.00, 'Yes', 'Car', 200.00), ('New York', '2023-12-20', 10, 2500.00, 'Apartment', 'NYC Apartment', 1500.00, 'No', NULL, NULL);

Hollicint commented 3 months ago

Updated screen shots to Readme

image

image

image

image

image

Hollicint commented 3 months ago

db img image