"The DREAM: Giants like Google and Facebook thrive of personal data. In exchange for our personal likes and things we search for, both google and facebook can offer us more personalized experience. I want to offer each student every possible way to improve his or her grades, attendance and/or behavior in exchange of ALL data" - Kunle Babatunde
{
"assert": "^1.4.1",
"bcrypt": "^3.0.0",
"bcrypt-nodejs": "0.0.3",
"body-parser": "^1.18.3",
"connect-flash": "^0.1.1",
"cookie-parser": "^1.4.3",
"cookie-session": "^2.0.0-beta.3",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"express-handlebars": "^3.0.0",
"express-session": "^1.15.6",
"method-override": "^3.0.0",
"mocha-sql": "0.0.6",
"moment": "^2.22.2",
"mysql": "^2.16.0",
"nodemailer": "^4.6.8",
"nodemon": "^1.18.3",
"passport": "^0.4.0",
"passport-local": "^1.0.0"
}- Model - A place to define data structures and methods to interact with your data store. The schema files will go in here for the model
- VIews - A place to manage everything the end user sees on his or her screen. This is where all the handlebar files are placed.
- Controllers - A place to take user requests, bring data from the model and pass it back to the view. This is basically where all your routes go.
database <---ORM<--->Model <--->Controller ----> Views ----> Browser
^ |
| |
| |
| |
-----------------------------
- config/
- prod.js - use for production
- dev.js - we do not commit
- key.js - redirects based on (prod.env==='PRODUCTION')?
- connect.js - acting as ORM
- passport.js - handle authentication
- Controllers/
- apiRoute.js - feature routes
- authRoute.js - signup and login route - very minimal access to the database
- clientRoute.js - views route
- database/
- attendance.sql - for developement database
- helper/
- auth.js - use to ensure authentication
- hbs.js
- Models/
- connection.js
- public/
- css/
- style.css
- image/
- javascript/
- css/
- test/
- Views/
- features/
- attendanceReport.handlebars
- index/
- welcome.handlebars
- contact.handlebars
- layouts/
- main.handlebars
- parent stories
- mychild.handlebars
- parentprofile.handlebars
- partials/
- _footer.handlebars
- _navbar.handlebars
- student_stories
- mypage.handlebars
- teacher_stories
- attendance.handlebars
- quizzes.handlebars
- users
- createPass
- login
- profile
- signup
- features/
- xml/...
- package.json
- readme
- server.js
- project2_specs.md