# Week 13- WIP Student Project ![](https://i.imgur.com/Jczxs1l.png =500x) --- ## [** Demo App **](https://wip-app.netlify.app/) :bell: ![](https://media.giphy.com/media/3ohnEwFH0GtzR85y24/giphy.gif) --- ## Sprint Review :bell: ![](https://i.imgur.com/kDocCpj.png) --- ### Kanban :cat: ![](https://i.imgur.com/OrSYyTD.png) --- ### Estimates and Actual Table :banana: ![](https://i.imgur.com/vwTf0VK.png) --- ### Estimates and Actual Graph :banana: ![](https://i.imgur.com/b1u8xSB.png) --- ### Going into Sprint 1 :banana: ![](https://media.giphy.com/media/FyeqjRybUYVbO/giphy.gif) --- ### Comparison Of Sprint 1 & Sprint 2 :banana: ![](https://media.giphy.com/media/9OlnTMlcVqbT2/giphy.gif =500x) #### Up from 65% to 80% accuracy in estimating this week! --- ## Learning Curves :bell: :jack_o_lantern: - Base64 <= it's not best practice... at all - React (grasped the fundamentals - thanks Izaak!) - Styled Components - React Router - Abstraction - SQL (SQL Fiddle) ![](https://media.giphy.com/media/RKZ8ZaXqDyY0M/giphy.gif =250x) --- ## Code Snips :jack_o_lantern: ![](https://media.giphy.com/media/10a72Df8tWbtXq/giphy.gif) --- ```sql= SELECT (SELECT username FROM users WHERE users.id=projects.user_id), projects.id, project_name, steps.date, step_link FROM projects JOIN user_watch ON project_id=projects.id JOIN users ON user_watch.user_id=users.id JOIN steps ON projects.id=steps.project_id WHERE user_watch.user_id=($1); ``` What I learned: `SELECT` what you want `FROM` a table `JOIN` another table `ON` where they match `WHERE` a condition is met and nest whatever extra queries you like so long as they only resolve to one thing and you are sure of what that is. And use a schema diagram and SQL Fiddle. ![](https://camo.githubusercontent.com/14fed4237ad1b9123b8ddd69fa260a801ab00a22/68747470733a2f2f692e696d6775722e636f6d2f3453396536777a2e706e67 =500x) --- ```javascript= model .getWatchedProjectsFromDb(userId) .then((watchedProjects) => { model .getAllProjectsFromDb() .then((allProjects) => { const watchedIds = watchedProjects.map( (watchedProject) => watchedProject.id ); // filter all the projects where the project IDs are not watched or belonging to a user const exploreProjects = allProjects.filter( (project) => watchedIds.indexOf(project.id) === -1 && userId != project.user_id ); res.send(exploreProjects); }) }) ``` --- ## Test coverage :jack_o_lantern: ![](https://i.imgur.com/ZYdSNmP.png =400x) ![](https://i.imgur.com/m3kLk6H.png =400x) --- ![](https://i.imgur.com/n0nWULy.png =500x) --- ## Team Process/Workflow/Vibe :cat: ![](https://media.giphy.com/media/I6rNGC7JouowM/giphy.gif =300x) --- ### Hannah :banana: Everyone smashed their roles! :tada: ![](https://media.giphy.com/media/3MU0Rm0hlW4aA/giphy.gif =300x) --- ### Kat :cat: Everyone carried each other!!! So Supportive! :100: ![](https://media.giphy.com/media/r1Jfzs1LcKwAo/giphy.gif) --- ### Camp:bell: We understood each other well! ![](https://media.giphy.com/media/hWGblLnkMSye4/giphy.gif) --- ### Jack :jack_o_lantern: Building a semi-fuctional full stack app is hard and we were a good team in the face of that :person_doing_cartwheel: ![](https://media.giphy.com/media/1NTrXfSRVbJWOWoxT1/giphy.gif) --- ## Neat Tools Discovered :cat: [SQL visual tool to see results of Queries](http://sqlfiddle.com/) [Icon SVGs](https://iconsvg.xyz/) [Drawkit Illustrations](https://www.drawkit.io/free) [Undraw Illustrations](https://undraw.co/search) [A Japanese Stretch](https://www.youtube.com/watch?v=oQU-GDIjz6E&list=PLFRb4HVfmk6HyOnljs0layqYIIzkc__HA&index=1) ![](https://media.giphy.com/media/Z0MdDDYdPoOg8/giphy.gif) --- Postman collections ![](https://i.imgur.com/7vrMndt.png) --- ## Special Thanks :banana: 💖 Shifu Reuben 💖 Oli 💖 Izaak 💖 Katia 💖 Renata 💖 Kristina 💖 Hannah's sister ![](https://media.giphy.com/media/26Ff9akZSInDLLMoo/giphy.gif =250x)
{"metaMigratedAt":"2023-06-15T08:54:11.854Z","metaMigratedFrom":"Content","title":"Week 13- WIP Student Project","breaks":true,"contributors":"[{\"id\":\"b0c18fac-267d-47b1-9eaf-ccae71a12c3d\",\"add\":1721,\"del\":134},{\"id\":\"b4905d1f-6321-4767-ab1f-4fc252ee8196\",\"add\":2042,\"del\":716},{\"id\":\"4724fb25-e0af-4b1c-918a-0da323c4755f\",\"add\":702,\"del\":121},{\"id\":\"11eba2be-5fbb-4639-85ec-7ad40264d41d\",\"add\":955,\"del\":374}]"}
    326 views
   Owned this note