This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * | |
from employee join department on employee.department = department.id | |
where dept_name='Sales' | |
select emp_name | |
from employee_project join project on employee_project.project_id = project.id join employee on emp_id = employee.id | |
where project_name='Plan christmas party' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table bookmarks ( | |
id integer primary key generated by default as identity, | |
title text not null, | |
description text, | |
rating integer default 1, | |
url text | |
); | |
insert into bookmarks ( | |
title, | |
description, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * | |
from restaurants as r | |
select * | |
from restaurants | |
where cuisine='Italian' | |
select id,name | |
from restaurants as r | |
where cuisine='Italian' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require("express"); | |
const app = express(); | |
const morgan = require("morgan"); | |
app.use(morgan("dev")); | |
app.listen(8000, () => { | |
console.log("Express server is listening on port 8000!"); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const path = require('path'); | |
const source = process.argv[2]; | |
const target = process.argv[3]; | |
// read contents of source | |
const contentsOfSource = fs.readFileSync(source, 'utf-8'); | |
// get lines of source into an array, remove empty lines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thinkful meetup | |
Denver Startup week Jobfair | |
Denver Dev Day |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. What situations would be good to use context? | |
A good situation to use context in would be if you need to drill through multiple layers of components, | |
or if you have a lot of components that all need to access STATE. | |
2. If you need to pass a prop down 1 or 2 levels, is context necessary? | |
No the use of context is not always necessary. Sometimes you are better of just passing props if you only need to pass that | |
information through one or two components. It can also make component reuse more difficult if used in inapropriate situations. | |
3. Can you pass a component instance as a prop to avoid the need for context? | |
Yes! You can simply pass a component instance down through your components instead of using context. This can save you a headache | |
when you need to pass more props. | |
4. Can you write your own components that accept render props? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The only feedback that I recieved was to add a drop menu that included all of thge ingredients that you can access through the api. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Picture of user flow and wireframe in the comments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New User - Search by drink name - High | |
New User - Search drinks by ingredients - High | |
New User - Filter search by Alcohilic or non-Alcoholic - Medium | |
New User - See a random drink - Low | |
Returning User - Search by drink name - High | |
Returning User - Search by ingredients - High | |
Returning User - See recently added drinks - Medium | |
Returning User - See popular drinks - Medium |