Skip to content

Instantly share code, notes, and snippets.

import React, { useState, useEffect } from "react";
import styled from "styled-components";
const colorList = ["#FFBE0B", "#FB5607", "#FF006E", "#8338EC", "#3A86FF"];
const ColorParent = () => {
const [randomList, setRandomList] = useState([]);
const [update, setUpdate] = useState(true);
const randomize = (list) => {
@josno
josno / pawpad-R2-feedback
Created February 16, 2020 20:04
pawpad-round2-feedback
Name of your app
Link to live static version
Link to repo on GitHub
The user feedback you collected.
Indicate who you spoke to, what you learned, and what if anything you did in response to the feedback.
PawPad
Link to static version: https://pawpad.now.sh/
Link to client Repo: https://github.com/josno/pawpad-client
@josno
josno / pawpad-client-feedback
Created January 30, 2020 00:39
pawpad-client-feedback
Name of your app
Link to live static version
Link to repo on GitHub
The user feedback you collected.
Indicate who you spoke to, what you learned, and what if anything you did in response to the feedback.
PawPad
Link to static version: https://pawpad.now.sh/
Link to Github Repo: https://github.com/josno/pawpad-client
App Name: Paw Pad
#1 Start Here - Home page:
https://josno.github.io/pawpad-wireframes/pawpad-homepage.html
Flow:
- Landing page for app
- Explains what the app is
- Two buttons:
- User Flow A: Submit new dog information
- User Flow B: See a list of current dogs
@josno
josno / word-nerd-round2-feedback
Created January 17, 2020 21:12
Round 2 Feedback Word Nerd
Name: Word Nerd
https://word-nerd.now.sh/
test user: nerd
password: nerdpass
Client Repo: https://github.com/josno/word-nerd-client
API Repo: https://github.com/josno/word-nerd-server
The user feedback you collected.
@josno
josno / fullstack-capstone-2-user-stories
Created January 16, 2020 14:27
Fullstack Capstone #2 User Stories
As an animal shelter employee... I want to be able to submit new information about a new animal High
As an animal shelter employee... I want to be able to update information about the animal High
As an animal shelter employee... I want to delete information about the animal High
As an animal shelter employee... I want to submit information about a volunteer Medium
As an animal shelter employee... I want be able to track animal vaccinations High
As an animal shelter employee... I want to be able to track volunteer visits Medium
As an animal shelter employee... I want to be able to assign a volunteer to a pet Medium
As an animal shelter employee... I want to be able to submit volunteer visit dates/appointments Low
As an animal shelter volunteer... I want to be able to pick an animal to walk/care for Low
As an animal shelter volunteer... I want to be able to make an appointment to volunteer Low
@josno
josno / capstone-2-statement
Last active January 16, 2020 15:33
Pet A Pet
Name: Pet A Pet
User: Animal Shelter Admin
Summary: This app will provide animal shelters with a better way to organize and record animal intake information (such as name, vaccinations, foster care, intake date, adoption date, gender, identifiers, etc). This app will be focused on mobile-usability to update information on the go since shelter employees are don't spend a lot of time in front of the computer.
@josno
josno / gist:1ae1ab828d00e2f819c39ea3af7c4d32
Created January 14, 2020 13:27
Authentication - JWT Expiry Time
Should the client or the server take more security precautions?
Both client and servers should take security precautions to ensure that the appropriate user has the right access to server resources. Unfortunately, we can’t see who is actually using an app and what their credentials are for everything and everyone so we need to establish protocols in ensuring that the right people have access in the app.
What's the difference between local storage and session storage?
Local storage is provides access to the domain within the same browser across all tabs versus a session storage gives access only to one specific tab via a browser.
What problem does a JWT expiry time solve?
Expiry time limits the authorization access to a server over a specific length of time.
Is a refresh endpoint protected or public?
--1. Get all restaurants
--Write a query that returns all of the restaurants, with all of the fields.
SELECT * FROM restaurants;
--2. Get Italian restaurants
--Write a query that returns all of the Italian restaurants, with all of the fields
SELECT *
FROM restaurants
@josno
josno / wordnerdfeedback.txt
Last active December 12, 2019 13:50
Word Nerd Front End Submission
Name of your app
Link to live static version
Link to repo on GitHub
The user feedback you collected.
Indicate who you spoke to, what you learned, and what if anything you did in response to the feedback.
Word Nerd
Link to static version: https://word-nerd-client.now.sh/
Link to Github Repo: https://github.com/josno/word-nerd-client