-
- Add Landing Page
-
- Add Home Page that lists all restaurants
-
- Name
-
- Image
-
- Cost per two person
-
- location
-
- Description
-
- Create our header and footer partials
-
- Add in Bootstrap
-
- Add in semantic ui for icons
-
- Setup new rseaturant POST route
-
- Add in body-parser
-
- Setup a button to show modal
-
- Add basic modal from bootsrap
-
- Add a better header/title
-
- Make restaurants display in a grid
-
- Add a navbar to all templates
-
- Style the new restaurant form
-
- Install and configure Mongoose
-
- Setup resaturant model
-
- Use restaurant model inside of our routes
-
- Review the RESTful routes
-
- Show db.collection.drop()
-
- Add a show route/template
-
- Create a models directory
-
- Use module.exports
-
- Require everything correctly!
-
- Make our errors go away!
-
- Display comments on restaurant show page
-
- Discuss nested routes
-
- Add the comment new and create routes
-
- Add the new button
-
- add a basic bootsrap modal
-
- Add sidebar to show page
-
- Display comments nicely
-
- use google map api and show the location on first column
-
- Add public directory
-
- Add custom stylesheet
-
- Install all packages needed for auth
-
- Define User model
-
- Configure Passport
-
- Add signup routes
-
- Add signup template
-
- Add login routes
-
- Add login template
-
- Add logout route
-
- Prevent user from adding a comment if not signed in
-
- Add links to navbar
-
- Add forgot route
-
- Use nodemailer and sendgrid to get password tokens
-
- add a forgot.ejs in views directory with one email input
-
- when a user forgot his password
-
- Add links to navbar
-
- Add reset route
-
- Use nodemailer and sendgrid to get password tokens via email
-
- add a reset.ejs in views directory
-
- add a basic form from bootsrap with newpassword and confirm password field
-
- now use nodemailer and sendgrid to send another mail after user submit the new
-
- pasword with confirmation email
-
- Add links to navbar
-
- Show/hide auth links in navbar
-
- create a route /users
-
- add button in navbar where you put the link /users
-
- create a directory user and inside that add a file profile.ejs
-
- show user's avatar and name and restaurants that he/she submitted
-
- use cloudinary api to upload images both for restaurant and users
var userSchema = new mongoose.Schema({
username:{type:String, unique:true,required:true},
firstName:String,
lastName:String,
email:{type:String, unique:true,required:true},
avatar:String,
avatarId:String,
resetPasswordToken: String,
resetPasswordExpires: Date,
birthday:Date,
password:String,
isAdmin:{type:Boolean, default:false}
});
-
- Use Express router to reoragnize all routes
-
- Associate users and comments
-
- Save user's name to a comment automatically
-
- Prevent an unauthenticated user from creating a campground
-
- Save username+id to newly created Restaurant
-
- create a route /contact
-
- add link in navbar name it contact
-
- create a directory contact and inside that add a file contactme.ejs
-
- add a form with inputs name, email, and message
-
- user the same email method to get emails from users
-
- Add "back" redirect to login
-
- Add method-override
-
- Flash Messages
-
- Refactor container div to header
-
- Show/hide delete and update buttons
-
- style login/register forms
-
- Random Background Landing Page
-
- Refactor middleware
-
- change styling in show template - comment delete/update
-
- BOOTSTRAP NAV COLLPASE JS
-
- Flash Messages
-
- add container div to header
-
- Show/hide delete and update buttons
-
- style login/register forms
-
- Random Background Landing Page
-
- Refactor middleware
-
- change styling in show template - comment delete/update
-
- UPDATE/DELETE Restaurant
-
name url verb desc.
-
===============================================
-
INDEX /dogs GET Display a list of all dogs
-
NEW /dogs/new GET Displays form to make a new dog
-
CREATE /dogs POST Add new dog to DB
-
SHOW /dogs/:id GET Shows info about one dog
-
INDEX /
-
NEW /home/new
-
CREATE /
-
SHOW /home/:id
-
NEW /home/:id/comment/new GET
-
CREATE /home/:id/comment POST
-
CONTACT /contact GET
-
FORGOT /forgot GET
-
RESET /reset/:token POST