W8D1 - BenchBnb Part 2
Topic
Frontend Authentication
UX - User Experience
Principles of UX Design
UI - User Interface
Affordance
Explicit
Pattern
Metaphoric
Negative
False
Favicon - "favorite icon", the icon in browser's address bar
React context
Data Bootstrapping
Final Project - project proposal feedback & revision
Projects
BenchBnb
Solo programming
Capstone Project
Project Proposal - incorporate feedback
Learnings
Don’t forget to build .json.jbuilder views for anything you want the controller to render
Don’t forget to remove your store listeners before you unmount React components (componentWillUnmount). Otherwise will get an error message about trying to setState() before a component is mounted
To test API routes, can make $.ajax({}) queries directly in Chrome Dev Tools
$.ajax({ url: 'api/users', method: 'POST', data: {user: {username: "fake-user", password: "password123"}}, success(resp) { console.log("Successfully created user") console.log(resp) } });
4. Don’t forget to make database tables before testing (users) * rails g model User - will create model & migration (and boilerplate code) 5. BCrypt gem - include in Gemfile 6. When you get a 500 Error, check your Rails Server log for full error message 7. Triplebyte - job placement/posting site. Have to go through their screening process, but then they will help put you in touch with potential employers 8. Cloudinary - CDN, image hosting site 9. unsplash.com - high-resolution images, good for backgrounds










