An internet presence for the amazing projects created by students here at MIT. A gallery website for displaying projects for public consumption. To be used by ProjX and HackMIT.
- A full gallery view with individual project pages.
- Profile and Check In system for individual teams.
- Authentication supporting profile system, along with MIT Certificate verification to allow for MIT Students
- Author/Team pages for letting project creators show off.
- Angel Alvarez
- Emily Liu
- populate database by allowing users (project teams) to provide check-in data
- populate database with admin check-in system
- Make sure to
npm install
in the repo, and that the NodeJS you have installed is later than6.0.0
(For email support). - Create a
settings.js
file and database folder in the gallexy folder. * Your settings folder should look like this:
module.exports = {
mongoUri: "data", /*RELATIVE TO THE Project location if using gulp and localhost*/
mongoHost: "mongodb://localhost/",
winMachine: false, /* whether or not the computer is running windows, or linux/mac OS. This affects the automation of the tasks.*/
port:3000, /* PORT TO RUN THE SERVER, use 80 or 8080 for HTTP */
secret: "7928xj9kd01xj0x9mu98ex", /* Secret used to create sessions. keep secret. */
admins: ['alvareza@mit.edu'], /*you can define admins for the website using their emails. */
verificationExpiration: 86400000, /* sets in seconds how long you want to wait for the code to expire */
mailTransporter: { /*the mail transporter object can be customized based on the nodemailer documentation*/
service: 'gmail',
auth: {
user: 'gallexy-emailer@gmail.com',
pass: '<email-password>' //Keep this secret
}
},
https: true, /* Enables use of secure cookies. */
appURL: 'localhost:3000', /*relative to the outward facing internet, if using an http port, omit the port. */
devMode: true /*set if you want the app to not send emails and auto register people when the sign up, good for testing. */
};
- simply run
gulp
to start the server and database. * If the DB doesn't work, you could run it using themongod
command, modify the DB URL in theapp.js
, then run the app usingnpm start
- Background image (NASA JPL): https://www.jpl.nasa.gov/spaceimages/details.php?id=PIA07136
- Footer alignment: http://matthewjamestaylor.com/blog/keeping-footers-at-the-bottom-of-the-page
- sign in/up format: https://semantic-ui.com/examples/login.html