Our HackMD presentation can be found here
Kin - Maria - Nikke - Pat
We just decided to run with our 2nd idea.
And were really happy with it!
- life span based on your life choices
- you'd either increase or decrease your lifespan
We made a quick sketch to make sure that every member of our team understood how information would flow through our project as well as being a brief overview of how our rough file architecture might be laid out.
... we changed our minds...
The database schemas ended up being more difficult than we initially thought and wasn't ideal for fulfilling the project criteria. So we had to rethink our great idea.
And decided to go with our initial FAC Fruit Basket idea which would better fill the project requirements of retrieving data from a database. Still a good idea!
- As a user, I want to buy virtual fruit with virtual money
- As a user, I want to see the fruit basket items and stock
- As a user, I want to see the shop's items and stock
- As a user, I want to be able to view my personal details on the website
- deployed database to heroku
- great CSS! - 404 fun
- user knows they've logged in!
- user data has been sent to database
- database returns data
- tests!
- we did a helluva lot of learning! Esp debugging!
So we traced the bug back to our db_connections file.
const params = url.parse(process.env.DB_URL);
// const [username, password] = params.auth.split(":");
const options = {
host: params.hostname,
port: params.port,
database: params.pathname.split("/"[1]),
max: process.env.DB_MAX_CONNECTIONS || 2,
// user: username,
// password: password,
ssl: params.hostname !== "localhost"
};
const params = url.parse(process.env.DB_URL);
// const [username, password] = params.auth.split(":");
const options = {
host: params.hostname,
port: params.port,
database: params.pathname.split("/"[1]),
max: process.env.DB_MAX_CONNECTIONS || 2,
// user: username,
// password: password,
ssl: params.hostname !== "localhost"
};
https://en.wikipedia.org/wiki/Uniform_Resource_Identifier
- more tests
- check and retrieve existing user information from database
- login/authentication
- host on heroku
- update database with user input
- update stock data with purchases
- deduct from kitty our purchases