Skip to content

Instantly share code, notes, and snippets.

View javolpe's full-sized avatar

JVolpe javolpe

  • Denver
View GitHub Profile

Notification email additional details

Where did I start in the codebase and why? I started off looking into app > mailers > appointment_notif. Seemed like if they wanted to change something about what was in the contents of an email sent out regarding notification that would be the place to start to see how it's currently set up. Looks like there are two messages, one for reminder and one for cancelling that can be modified.

What is familiar about the codebase? The structure of things. I expected this to live in a directory inside of app and it does. Not sure where it lives as far as controller actions calling it but I haven't started digging through controllers yet.

Are you making any assumptions? I'm assuming that this tied to users in the database, it takes two people to have a "paired" meeting. These mailers are also probably being triggered by another database post action after a paired meeting is created or destroyed.

How are you identifying what files are relevant to your issue? Started

Rails Development Checklist

Warning: This checklist uses a happy path model, meaning it does not rely on TDD to build up the rails app. Additionally, it uses names of routes, models, controllers, and views in code snippets, so make sure to replace those names with the names of those things in your project. Most references are from

https://backend.turing.io/module2/misc/blogger
  1. Create Rails Application
  • From the command line, start a new rails app. For example,
    rails new blogger -T -d="postgresql" --skip-spring --skip-turbolinks
    
@javolpe
javolpe / viewing_party_prioritization.md
Created March 22, 2021 23:02
viewing party card prioritization

1 - Deploy to Heroku. We want to get the initial setup out of the way. Will push to Heroku once we have pages/func built out.

2 - Travis CI integration. This is brand new to us so want lots of time to mess around and play with it. Should hopefully allow for less time debugging Heroku issues.

3 - Rubocop. Rubocop set this up early to make sure our syntax is correct.

4/5 - Play with API in Postman/API movie db keys. Just play around with what comes back from the API to see how we want to handle the data. Also get used to Postman and how that works. Get setup returning API data and the models to handle the POROs.

6 - Welcome Page. We think it's a good call to start with this as it is the landing page. Things flow from here as this is the root.

@javolpe
javolpe / Mod3_authentication_authorization.MD
Last active March 20, 2021 16:06
Mod 3 Intermission work notes

Authentication/Authorization

You need to store a user in a database table; what do we need to know about them (ie, email, password) - To store a user in a database you'd need to know their username (usually email), password, potentially their login data such as their IP or MAC address (not sure which one google uses, guessing MAC) to verigy where the login is coming from. You could also store created_at info, if they have site admin privileges, what their user id is for the specific app they are logging into, and many more site/app specific datapoints.

How can we store a password in a secure way (ie, if our database is compromised, how can we protect their passwords from prying eyes) - You can store the password in such a way that only admin users (or better yet no users at all) can actually view the raw data of a password. Maybe by storing passwords in a separate database that is connected to via API and has a different setup.

How would we store the idea of what a user is allowed to do on

@javolpe
javolpe / Mod3_Inter_Work.md
Last active March 18, 2021 17:31
Mod 3 intermission work

I've put a lot of thought into which "industries" I'd most prefer to work for over my time doing PD at Turing and to a decent extent I am a bit industry agnostic. Having said that I do have a connection who works at SnapDocs and they seem to take care of their employees and also give developers lots of opportunities to grow their skill base so they are top of my list for now. Outside of that I think my past experience gives me an edge with construction services companies and service based companies as a whole. High level industries could include mid to large sized residential construction companies such as Power Home Remodeling (they had previously offered me a job as a sales rep) and I would like to be in green energy companies so anything along the lines of residential solar or things of that nature. The first company I listed was simply because I do have an inside connection there so learning from someone you trust who is currently employed there gives a window into how things operate that frankly i

Last week I spent a lot of extra time studying and reviewing lessons. Rails is a bit trickier than Ruby so I have been spending even more time after class redoing the practices from lessons. This extra repetition is very beneficial in learning how to write Rails programs as it becomes slowly ingrained. The habit of taking breaks every 30-40 minutes when studying is very effective in letting my brain recalibrate and allow myself to abosrb more information. Not sure how I could be more effective, more hours in the day would help but that's out of my control. I have been reaching out for help and to help more often in the hopes that speaking out loud will help in the learning process as well.

I am someone who has (almost) always worked for small businesses, start ups, or my own entrepreneurial activities. I have loved the feeling that comes along with being at the beginning of something and have seen the pros and cons of that. As I’ve grown up in a professional setting I am less infatua

Reflect on your habits from last module: Waking up and going to sleep on a better schedule. Setting hard cutoff time to stop working at night. Limiting caffeine to certain parts of the day. Writing ideas down and then trying to think about them only at the right time. A more effective behavior for me could be to review lessons at least once after class to let the material sink in more after having already seen it one time. I would like to try a process of review and further exploration of topics on my own to develop an identity of someone who searches for more/better knowledge on their own.

I want to be someone who goes above and beyond projects and lessons to understand pieces of Rails more deeply. Rails is not coming as easily to me as Ruby did and I think I will need to dive deeper into it on my own. I can form a habit of scheduling a 1 hour block per day of review and research time. Those habits are directly tied to the identity of a software dev as dev's are constantly

B2 Intermission Work

Answer these Check for Understanding questions as you work through the assignments.

HTML

  1. What is HTML? - Hyper text markdown language. It is essentially the skeletal bones of how a webpage is structured and viewed by the end user.

  2. What is an HTML element? - An HTML element consists of an opening and closing tag with some cotent in between such as an image, a paragraph of text, the page title, etc.

What is one thing that went unusually well during this project? If you were working with this partner again, what is something you would want to focus on improving as a team? What strengths did your partner bring to the project? What is something they could do better?

One thing that went unusually well during this project was the amount of trust we all had in each other. When we broke up into smaller groups we all trusted our teammates to do their work correctly and autonomously. Everyone had a strong work ethic and I can't point to a single person who didn't pull their own weight. It was hopefully a preview for the future in this profession where people are both competent and motivated.

My habits in the morning have changed. I'm still not exercising as much as I should but I'm definitely starting my day a little earlier. By geting up and moving around vs staying in bed and drinking my coffee I feel like my day's are starting off stronger. That decision is small but it affects the rest of my day quite a lot. I am going to start trying to do this with other parts of my daily/weekly routine as well by looking for small changes that can lead to big impacts.

Beginner's mind can be vastly helpful when it comes to thinking about a career and job search as it can reframe the whole mentality. Job searches are almost always stressful to some extent. You are looking for something that will take up a very large portion of your life timewise that also allows you (or restricts you) to do everything else in life that requires money. But by reframing it as being given an opportunity to find something you will enjoy or try something new vs putting pressure on yourself to find the "perfect" thing yo