Skip to content

Instantly share code, notes, and snippets.

View alyrlee's full-sized avatar
🎯
Focusing

Ashley Lee alyrlee

🎯
Focusing
View GitHub Profile
//https://github.com/alyrlee/snap-client/blob/master/src/Components/SnapLocationStores/SnapLocationsList.js#L16
import React, { Component } from "react";
import MapContainer from "../GoogleMap/GooglePlaces";
class SnapLocationsList extends Component {
constructor(props) {
super(props);
this.state = {snapLocationLists: []};
}
import React, { useContext } from 'react';
import notefulContext from '../notefulContext';
import { NavLink, Link } from 'react-router-dom';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import CircleButton from '../CircleButton/CircleButton';
import { countNotesForFolder } from '../notes-helpers';
import './NoteListNav.css';
export default class NoteListNav extends React.Component {
static contextType = notefulContext;
Name of your app: SNAP Locator
Link to live static version: https://snap-locator-client-ko9q589si.vercel.app/
Link to repo on GitHub: https://github.com/alyrlee/SNAP_Client
The user feedback collected:
I spoke to a friend that works as a developer for feedback on the static app.
What I learned:
-Bold, grabs attention
-Button is off center
-tells them what they need to know about the app from the main page
@alyrlee
alyrlee / gist:fd96c977a96860ad98e2e25e9ee71d33
Last active August 18, 2020 18:08
noteful server config and env content
.env:
PORT=8000
NODE_ENV='development'
DATABASE_URL='postgresql://ashley2@localhost/noteful',
TEST_DATABASE_URL='postgresql://ashley2@localhost/noteful_test_api'
config:
module.exports = {
Name of your app: SNAP locator 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.
@alyrlee
alyrlee / Wire-framing Capstone 1
Created July 21, 2020 22:32
Gist with app name and link to github repo
App Name: SNAP Locator App
Repo wireframes: https://github.com/alyrlee/SNAP-Locator/tree/master/HTML_Wireframes
Repo user flow: https://github.com/alyrlee/SNAP-Locator/tree/master/User_Flows
@alyrlee
alyrlee / Capstone requirement user stories
Last active July 31, 2020 00:48
Capstone user stories
Role: Users
Goals & Importance
I want to search for groceries and store locations that accept SNAP benefits. - High
I want to view a breakdown of retailer by name and store type - High
I want to see results within miles radius - High
I want to view a map with results nearby - Medium
I want to search by retailer name or store type. - High
@alyrlee
alyrlee / Capstone requirements statement
Created July 21, 2020 16:21
Capstone requirements
App name: SNAP Store Locator
SNAP Store locator is an application that helps users find access to SNAP retailers and grocers.
Many communities suffer disproportionately from illness realted to lack of access to fresh and healthy foods.
SNAP Store Locator will allow the user to search for retailers and grocers nearby that accept SNAP benefits
and also provide a list of foood items that are sold.
@alyrlee
alyrlee / gist:01305e832e7cf45f8a16e2dc308d63e7
Created July 8, 2020 12:09
Relationships and Schema Design Assignment
How many people work in the Sales department? Four
SELECT
e.emp_name as Full_Name,
e.salary as Salary,
d.dept_name as Department
FROM
employee e
INNER JOIN
department d
ON e.department = d.id
DROP TYPE IF EXISTS grocery;
CREATE TYPE grocery AS ENUM (
'Main',
'Snack',
'Lunch',
'Breakfast'
);