Update Milestone 10 authored by Wes Li (wel191)'s avatar Wes Li (wel191)
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<br> <br>
**Prioritized User Stories and Project Progress:<br>** **Prioritized User Stories and Project Progress:<br>**
* *Preliminary Product Deliverable* * *Preliminary Product Deliverables*
1. Searching for flights ✓<br> 1. Searching for flights ✓<br>
2. Retrival of reservation ✓<br> 2. Retrival of reservation ✓<br>
...@@ -29,32 +29,75 @@ ...@@ -29,32 +29,75 @@
**ReadMe:**<br> **ReadMe:**<br>
<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 ## Getting Started
app.js file, the database, and the views folder.<br>
**npm init <br> Instructions to get the web application running on a local machine.
npm install sqlite3<br>
npm install express<br>
npm install ejs<br>**
### Prerequisites
Finally, run **'node app.js'** in the terminal to start the server. <br> What must be installed to run the software:
The localhost will be listening at: http://localhost:2020/search
**Current Restrictions** ```
nodejs, sqlite3, express, ejs, nodemailer
```
Only direct flights can be used currently the other options will refresh page.<br> ### Installing
Examples of available flights for testing:
* Calgary to London How to run the application:
* Saskatoon to Calgary
* Calgary to Paris Clone the git branch
<br>
```
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> <hr>
**Action Plan**<br> **Action Plan**<br>
... ...
......