Giter Club home page Giter Club logo

plantbase-me's Introduction

A Perfect Day For Bananafish, by J. D. Salinger

Plantbase-Me ๐ŸŒฑ

Help save all the animals, one product at a time.


Team

  • Emmanuel (Scrum Master / Scrummy Mummy)
  • Christine (Quality Assurance)
  • Colette (UX/UI)
  • Sam (DevOps)
  • Gregor (DevOps)

Project idea

Summary

Crowd sourced review app for plant-based products | a mobile app

Detail

Our app idea lets our users search for a product category they are familiar with from the non-plant-based world. It then shows them a list of ranked plant-based alternatives with honest reviews, sorted by their number of crowdsourced upvotes.

The idea is to encourage more people to cut out some animal products, with a focus on encouraging more people to make a few changes that they're comfortable with, rather than a few people doing everything they can and the rest feeling alienated. We want to help curious shoppers find the right product fit for their need and manage their expectations (e.g. this cheese alternative melts great on pizza).


Installation Guide

  • Clone this Repo
  • Run npm i
  • Create a .env file in the route with:
    • PLANTBASE_DB_URL
    • LOCAL_DB_URL
    • TEST_DB_URL
  • Run npm run dev to run the server with nodemon

Main User Journey

As a user, I'd like to find a plant-based product related to a craving through three pages


What we learnt - Stuck and [sometimes] Unstuck

Topic: Server set up

  1. in app.js whats the difference between:
app.use(bodyParser.urlencoded());
app.use(bodyParser.json
  1. Why do we require express and call it as a function?
const app = express();

Topic: Why does tape group our tests?

  1. When we run a second set of tape tests our second set are grouped under the first heading. Why?

Seems to do with asynchronicity where the second set are running before the t.end of the first set.

See these similar issues: 381 358

You can use:

tape-promise

Create a test DB

Testing a post request

  • How can we test a post request?
  • Can we use a get request after?
  • We had a problem with promises

Our initial design

https://www.figma.com/file/OFOCFI5zOY4wOEgZMCRlUZ/Plantbase-Me?node-id=0%3A1

plantbase-me's People

Contributors

albadylic avatar samjam48 avatar xirusux avatar emaggy avatar coletterbox avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.