Open mayagold opened 7 years ago
Sam - Sessions/CRUD
Admin feature created to restrict crud, but allow user's ability to take part by viewing the site without forced registration or login -- though, that is set up and working. modal registration is less invasive but still gives the user the option to register
Create - only admin, using the file upload (must be gpx file) Read - everyone Update - only admin -- ability to update the details and description Delete - only admin -- delete the route(gpx file), details, description
*Sessions was a struggle to incorporate with Angular and a single page app, some changes included using ajax calls and res.json instead of res.renders in sessions.js. Instead of ''routes" we used functions in app.js checkRegister and checkAuth
Struggles: sessions/angular Improvements -- incorporating sessions for users to enable CRUD on only their posts
Lin.... API
What Went Well
Tools