Skip to content

Repository files navigation

BU Tutor

Initial Setup

  • Add Landing Page
  • Add Tutors Page that lists all tutors

Each Tutor has:

  • Name
  • Photo
  • Coding Skill
  • Technical Skill
  • Other Skills
  • Tutoring Time
  • Comment

Each User has:

  • BU email (Gmail)
  • Username

Layout and Basic Styling

  • Create our header and footer partials
  • Add in Bootstrap

Creating New Tutors

  • Setup new tutor POST route
  • Add in body-parser
  • Setup route to show form
  • Add basic unstyled form

Style the tutors page

  • Add a better header/title
  • Make tutors display in a grid

Style the Navbar and Form

  • Add a navbar to all templates
  • Style the new tutor form

Add Mongoose

  • Install and configure Mongoose
  • Setup tutor model
  • Use tutor model inside of our routes

Show Page

  • Add description to our tutor model
  • Show db.collection.drop()
  • Add a show route/template

Refactor Mongoose Code

  • Create a models directory
  • Use module.exports
  • Require everything correctly!

Add Seeds File

  • Add a seeds.js file
  • Run the seeds file every time the server starts (remove all the tutors)

Add the Comment model!

  • Make our errors go away!
  • Display comments on tutor show page

Comment New/Create

  • Discuss nested routes
  • Add the comment new and create routes
  • Add the new comment form

Style Show Page

  • Add sidebar to show page
  • Display comments nicely

Finish Styling Show Page

  • Add public directory
  • Add custom stylesheet

(Auth Pt. 1 - Add User Model

  • Install all packages needed for auth
  • Define User model )

(NEW)Auth Pt. 1 - Add Google User Model

  • Install all packages needed for auth
  • Define User model (username, email, googleID)

(NEW)Auth Pt. 2 - Google Login

  • Configure Google-auth Passport
  • Change all the routhe of login and register into google login

(NEW)Auth Pt. 3 - Google user profile

  • Show the user profile
  • Show the tutor profile which is created by the user

(Auth Pt. 2 - Register

  • Configure Passport
  • Add register routes
  • Add register template

(Auth Pt. 3 - Login

  • Add login routes
  • Add login template )

Auth Pt. 4 - Logout/Navbar

  • Add logout route
  • Prevent user from adding a comment if not signed in
  • Add links to navbar

Auth Pt. 5 - Show/Hide Links

  • Show/hide auth links in navbar

Refactor The Routes

  • Use Express router to reoragnize all routes

Users + Comments

  • Associate users and comments
  • Save author's name to a comment automatically

Users + Tutors

  • Prevent an unauthenticated user from creating a tutor
  • Save username+id to newly created tutor

Transfer to mLab cloud database

  • Set up online database named "test_hao"
  • Save google user, tutor, comment collection.

Add Google Calendar

  • Set up tutoring time in Google Calendar in tutor's profile
  • Add 'Set Your Tutoring Time' function for tutors.
  • Add 'Make Appointments' function for users.

Deploy

  • Deploy the app on the Heroku server

TODOS

  • Develop Search algorithm
  • Upload profile image instead of using URL

RESTFUL ROUTES

About

A platform for students in Boston University to find tutors or be a tutor

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages