Project_2_GITS

所属分类:区块链开发
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2018-10-29 17:55:50
上 传 者sh-1993
说明:  G.I.T.S-银河行星际旅行系统,
(G.I.T.S - Galactic interplanetary Travel Systems,)

文件列表:
.DS_Store (10244, 2018-10-27)
TODO'S.MD (42, 2018-10-27)
config/ (0, 2018-10-27)
config/passport-setup.js (1415, 2018-10-27)
controllers/ (0, 2018-10-27)
controllers/aboutus.js (792, 2018-10-27)
controllers/authAndTrips.js (20486, 2018-10-27)
controllers/destinations.js (1368, 2018-10-27)
db/ (0, 2018-10-27)
db/db.js (558, 2018-10-27)
models/ (0, 2018-10-27)
models/destinations.js (425, 2018-10-27)
models/populateDestinations.js (3381, 2018-10-27)
models/populateShips.js (625, 2018-10-27)
models/ships.js (265, 2018-10-27)
models/trips.js (324, 2018-10-27)
models/users.js (461, 2018-10-27)
package-lock.json (27382, 2018-10-27)
package.json (984, 2018-10-27)
photos/ (0, 2018-10-27)
photos/.DS_Store (8196, 2018-10-27)
photos/aboutus.png (233667, 2018-10-27)
photos/destination.png (114727, 2018-10-27)
photos/landing.png (231969, 2018-10-27)
photos/login.png (46254, 2018-10-27)
photos/mytrip.png (58377, 2018-10-27)
photos/newtrip.png (51069, 2018-10-27)
public/ (0, 2018-10-27)
public/.DS_Store (6148, 2018-10-27)
public/css/ (0, 2018-10-27)
public/css/style.css (9656, 2018-10-27)
public/deboard.js (292, 2018-10-27)
public/imgs/ (0, 2018-10-27)
public/imgs/.DS_Store (8196, 2018-10-27)
public/imgs/callisto.png (76269, 2018-10-27)
public/imgs/earth.png (103423, 2018-10-27)
public/imgs/europa.png (108600, 2018-10-27)
public/imgs/galileo.png (95465, 2018-10-27)
... ...

# Project 2 - G.I.T.S - Galactic Interplanetary Travel Systems By: - Blake Harris - Avery-Dante Hinds - Colin Daniel ![Landing Page](https://github.com/blakeharris3/Project_2_GITS/blob/master/./photos/landing.png) ![Login](https://github.com/blakeharris3/Project_2_GITS/blob/master/./photos/login.png) ![Destination](https://github.com/blakeharris3/Project_2_GITS/blob/master/./photos/destination.png) ![New Trip](https://github.com/blakeharris3/Project_2_GITS/blob/master/./photos/newtrip.png) ![About Us](https://github.com/blakeharris3/Project_2_GITS/blob/master/./photos/aboutus.png) ![My Trips](https://github.com/blakeharris3/Project_2_GITS/blob/master/./photos/mytrip.png) ### Technologies - HTML5 - CSS3 - JavaScript - MongoDB - Node.js - bcryptjs - Body-Parser - Ejs - Express - Express-session - Method-override - Mongoose - Mongoose-unique-validator ### User Stories - Should be intoduced by a landing page - Landing page should contain links to Login/New Trip/Our Destinations/My Trips/About Us - Clicking on Destinations will give you a list of the destinations (Planets/Moons) we travel to - Clicking on About Us should take you to a page with our company info - Clicking on Login with allow you to login with Google or if you have an account, otherwise it will allow you to create one. - Clicking on My Trips will allow you to see all the trips that have been booked by that user. If the user is not logged in then it will redirect to the login page - Clicking on New Trip will render the trip/new.ejs and create a new trip for the user if they alread know wher they want to go - For each destination, there will be a show page that displays information about the location - From that show page, user will be able to click "Book a Trip" and it render you to trip/new.ejs file and allow you to book it there. - Once a trip is booked, user will then find their booked trip in "My Trips", which will give them information based on the flight - In "My Trips" they should be able edit their name, amount of tickets, destination, or just delete thier trip. ### Struggles - Mongoose-unique-validator - Req.Sessions Login validation - Calculating the escape velocity from Ganymede with a payload of 100 humans - Redirecting from google authentication back to localhost - Passport.use middleware logging to the terminal - Git Merging - Deploying on Heroku

近期下载者

相关文件


收藏者