Skip to content

Instantly share code, notes, and snippets.

@cbandara
cbandara / My Catalog
Created November 18, 2019 22:05
Descoped MyCatalog User Stories
User Stories:
A user should be able to sign up
A user should be able to log in
A user should be able to view inventory
A user should be able to select a product to view details
A user should be able to "buy" product and receive a confirmation
A user should be able to add products to inventory
A user should be able to edit products they added
@cbandara
cbandara / index
Last active November 18, 2019 22:04
MyCatalog User Stories
User Stories:
A user should be able to sign up
A user should be able to log in
A user should be able to view inventory
A user should be able to select a product to view details
A user should be able to "buy" product and receive a confirmation
A user should be able to add products to inventory
A user should be able to edit products they added
A user should be able to delete products they added
@cbandara
cbandara / React Capstone Purpose Statement
Created November 18, 2019 19:30
React Capstone Purpose Statement
MyCatalog is an app that allows users to upload, search, edit and delete products. Each product has a picture, ID, price and name.
This app comes in handy in commercial uses where there are many SKU's to handle. This app would make it easy to upload new inventory
into a database connected to a consumer facing website.
@cbandara
cbandara / Redux Drills
Created October 14, 2019 21:24
Redux Drills
https://glitch.com/~skillful-resistance
https://glitch.com/~fuchsia-soccer
https://glitch.com/~giddy-cuckoo
https://glitch.com/~dusty-cattle
@cbandara
cbandara / server.js
Last active June 11, 2019 22:36
Blog App
const express = require("express");
const app = express();
const mongoose = require("mongoose");
const Post = require("./models");
const { PORT, DATABASE_URL } = require("./config");
app.get("/", (req, res) => {
Post.find()
.then(posts => {
@cbandara
cbandara / models.js
Created June 11, 2019 22:03
Blog App
const mongoose = require("mongoose");
const postSchema = mongoose.Schema({
title: String,
message: String
});
postSchema.methods.serialize = function() {
return {
id: this._id,
@cbandara
cbandara / server.js
Created June 9, 2019 06:01
RESTful API
const express = require("express");
const app = express();
app.get("/", (req, res) => {
const message = "Hello world";
res.send(message);
});
app.listen(process.env.PORT || 8080, () => {
console.log(`Your app is listening on port ${process.env.PORT || 8080}`);
@cbandara
cbandara / react-nav-bar
Created June 5, 2019 03:08
react navigation bar example
import React from 'react';
import './navigation-bar.css';
// The NavigationBar component goes here. It should be the default export.
export default function NavigationBar(props) {
const links = props.links.map((link, index) => (
<li key={index}>
<a href={link.href}>
@cbandara
cbandara / user-feedback
Created June 3, 2019 03:43
User Feedback for Fortnite LFG
Do my users think the app is interesting or valuable?
After interviewing users I found that they did enjoy my app and found it useful but they all mentioned that there are many other websites that do this but almost everyone uses Discord servers to find other people to play with. I think that this is because Discord has the most traffic and its very easy to set up a group voice chat after finding players on discord since it is a VOIP app.
Did my users use the app as I intended?
Did my users encounter any bugs or broken features?
Did my users understand how to use the app?