... | ... | @@ -2,7 +2,7 @@ |
|
|
<br>
|
|
|
|
|
|
**Prioritized User Stories and Project Progress:<br>**
|
|
|
* *Preliminary Product Deliverable*
|
|
|
* *Preliminary Product Deliverables*
|
|
|
|
|
|
1. Searching for flights ✓<br>
|
|
|
2. Retrival of reservation ✓<br>
|
... | ... | @@ -29,32 +29,75 @@ |
|
|
|
|
|
**ReadMe:**<br>
|
|
|
<br>
|
|
|
How to run:
|
|
|
# CMPT370-Fantastic 4
|
|
|
|
|
|
Use **git clone https://git.cs.usask.ca/yol474/cmpt370-fantastic-4.git** in the command line
|
|
|
|
|
|
Requires **nodeJs** to run.<br>
|
|
|
|
|
|
Run the following commands inside the **air370proj folder** containing the
|
|
|
app.js file, the database, and the views folder.<br>
|
|
|
## Getting Started
|
|
|
|
|
|
**npm init <br>
|
|
|
npm install sqlite3<br>
|
|
|
npm install express<br>
|
|
|
npm install ejs<br>**
|
|
|
Instructions to get the web application running on a local machine.
|
|
|
|
|
|
### Prerequisites
|
|
|
|
|
|
Finally, run **'node app.js'** in the terminal to start the server. <br>
|
|
|
The localhost will be listening at: http://localhost:2020/search
|
|
|
What must be installed to run the software:
|
|
|
|
|
|
**Current Restrictions**
|
|
|
```
|
|
|
nodejs, sqlite3, express, ejs, nodemailer
|
|
|
```
|
|
|
|
|
|
Only direct flights can be used currently the other options will refresh page.<br>
|
|
|
Examples of available flights for testing:
|
|
|
* Calgary to London
|
|
|
* Saskatoon to Calgary
|
|
|
* Calgary to Paris
|
|
|
<br>
|
|
|
### Installing
|
|
|
|
|
|
How to run the application:
|
|
|
|
|
|
Clone the git branch
|
|
|
|
|
|
```
|
|
|
git clone https://git.cs.usask.ca/yol474/cmpt370-fantastic-4.git
|
|
|
```
|
|
|
|
|
|
Download and install nodejs
|
|
|
|
|
|
```
|
|
|
https://nodejs.org/en/download/
|
|
|
```
|
|
|
|
|
|
Navigate to the **air370proj** folder that contains **app.js**
|
|
|
|
|
|
```
|
|
|
cmpt370-fantastic-4\air370proj\AirPararies370proj\air370proj
|
|
|
```
|
|
|
|
|
|
Use npm to install the following requirements
|
|
|
|
|
|
```
|
|
|
npm init
|
|
|
npm i sqlite3
|
|
|
npm i express
|
|
|
npm i ejs
|
|
|
npm i nodemailer
|
|
|
```
|
|
|
|
|
|
Run app.js using command line
|
|
|
|
|
|
```
|
|
|
node app.js
|
|
|
```
|
|
|
|
|
|
Application will be live on port 2020
|
|
|
|
|
|
```
|
|
|
localhost:2020/
|
|
|
```
|
|
|
|
|
|
If you would like a reference when booking a flight be sure to use a real email in the form.<br>
|
|
|
The site may need to be reactivated to have the latest booking information since
|
|
|
it is local.
|
|
|
|
|
|
### Wiki
|
|
|
|
|
|
Features details for all milestones and group members<br>
|
|
|
|
|
|
https://git.cs.usask.ca/yol474/cmpt370-fantastic-4/wikis
|
|
|
<hr>
|
|
|
|
|
|
**Action Plan**<br>
|
... | ... | |