https://srv-vrs.herokuapp.com/
https://miro.com/app/board/o9J_kuF5bdE=/
E1 - First gym with starter pokemon E2 - Second gym with super effective pokemon against the gym types E3 - Third gym with strong pokemon against unknown gym types E5 - ELITE FOUR with magikarp
CREATE TABLE users (
id SERIAL PRIMARY KEY,
category TEXT NOT NULL,
tool_name VARCHAR(50),
tool_description VARCHAR(280),
tool_link VARCHAR(75),
added_by VARCHAR(50)
love INTEGER
);
- One big table
- No relations, we could have split the categories and users up
filter = 'News';
newHtml = await fetch ("/", {
method: "POST",
headers: {"Content-Type": "application/javascript"},
body: filter,
});
document.open('text/html');
document.write(`${await newHtml.text()}`);
document.close();
fetch(
//do an asynchronous thing
)
.then(getTool) //run getTool() when fetch complete
fetch(
//do an asynchronous thing
)
.then(() => {
getTool(arguments) //run getTool() with arguments
})
- We wrote our tests in a way that passed sometimes when run 😊 and then failed when run again 🙁
- Always run your test twice to check for this!
...we got this very creepy message when our live sharing code wasn't syncing up properly...
When this happens...delete package-lock.json
and node_modules
and npm install
again
sudo lsof -i :3000
kill -9 PID VALUE
test("Can get filtered user entries with getTools() function (id)", t => {
build().then(() => {
getTools(`News`)
.then(entries => {
const firstEntry = entries[0];
t.equal(firstEntry.id, 4);
t.end();
})
.catch(error => {
t.error(error);
t.end();
})
});
});
- Just general understanding of the flow 🌊
connection.js file
dotenv.config();
const db = new pg.Pool({
connectionString: process.env.DATABASE_URL,
// if we have a database URL (e.g. from Heroku we'll use that, otherwise it'll default to your local .env variables
});
module.exports = db;
- Enabling Oli to steal our passwords
- Mind map of file architecture (Miro?)
- Maybe having set in breaks?
- Also reminding each other to drink water and not look at the screen 20/20/20
- Fixing Oli being able to hack us
- Bring this joyful energy into future teams (stay resilient)
- Maybe 3min-ish group movement
- User manual feedback
- Pokemon analogies
- Being total angels
- Being honest to each other 👍
- Being flexible (honesty is key!)
- Asking each other questions
- Being a fantastic scrum master
- Listening to each other
- Reluctantly learning Oli's best practice
- More GIFs, pics and demo time than writing on slides
- Laughing/joking!! 💯
- Relaxed environment but still productive
J: Remember what Oli has taught us
J: Help to visualise how it all fits together
K: hands away from keyboards, chat about not FAC stuff, built in breaks - 5 min every hour? Could include with CoC chat. H: Nice to make sure we're also allowing people to get a break if they're nervous about asking for one
J: Being there for each other's health
H: Let's fix the template literal C: This should be quite simple H: Can do this at 6.30
J: Let's bring this joy with us into new team
K: Japanese video at start to move / exercise together, random stretches. Uncomfortable at first but nice. H: has noticed K is great at standing and moving, let's be inspired
H: Writing honest but constructive comments on each other's user manuals K: Would be super interesting & valuable to get feedback in this way H: I wouldn't criticise anyone in the user manual but can be helpful for more feedback J: Inspired by this, love it H: It was my idea because I'm so clever
H: Love Pokemon
H: Cheesy. No one hung onto their ideas except Jack and document.write() J: I really wanted to use the banned thing
K: We were really open and that's nice
J: Cheese C: If I have to give one more ultimatum I'm going to bed
K: Always happy to ask questions
J: Han great and inspirational scrum master
K: This was great
J: Let's keep learning from Oli
J: Makes for more engaging presentation
K: Mum is concerned I'm laughing so much. Great vibes.
K: Most relaxed and able to work, great balance J: Planning really helped! It's reassuring to know it's possible to have fun and make a great project H: I hate everyone