Skip to content

Instantly share code, notes, and snippets.

View ms-vague's full-sized avatar

Maria Vatranis ms-vague

  • New Orleans
View GitHub Profile
@ms-vague
ms-vague / userflow
Created February 5, 2017 18:31
Capstone User Flow
USER FLOW
introduce website concept - home screen - {facebook and twitter links}
|
user clicks button
|
random movie appears (w/ description)
|
user clicks until satisfied w/ choice
@ms-vague
ms-vague / API Hack Again
Created February 20, 2017 22:32
capstonepartdeux
Robert,
I have to change what I wanted to do for my API Hack Front-end Capstone.
Originally I wanted to use the Vimeo Web API and the Open Trivia Database API.
After going to an open capstone Q&A with Kristen, we realized I wouldn't be able to use the Vimeo API. It uses OAuth, which is
a little advanced for what I can do with my Front-end Capstone. Therefore, I'm presenting another idea.
I want to use the Google Fonts API. I'm going to take the data and have it preview on the fly using some type of sorting method.
The user will be able to fontpair and try it out on the app/site live in the browser using jQuery.
// Echo endpoint //
https://glitch.com/edit/#!/rune-cut?path=server.js:13:36
// This what I had before my thirty minutes were up:
const express = require('express');
const app = express();
// your code here!
app.get('/echo/:what', (req, res) => res.json({'host': , 'query':, 'params':, });
// I screwed up some of the syntax before res.json. Also was trying to hardcode an actual object for the res.json. //
// get all
db.restaurants.find();
// limit and sort
db.restaurants.
find().
sort({name: 1}).
limit(10);
Safe Bathrooms App
Find a safe restroom for LGBTQIA+ individuals in New Orleans.
As a user...
I should be able to rate/leave a review for the establishment.
I should be able to be anonymous.
I should be able to search using a zip code.
I should be able to see a short description of the establishment to determine if I want to use the restroom there.
Gist