Coder Social home page Coder Social logo

joice-app's Introduction

Joice overview:

Joice is a recipe assistant app. The user asks for recipe recommendations and Joice returns a solution based on those answers.

This version is meant to emulate the Lark app, which is for personal fitness. Joice is simply a bot that answers questions based on your selections. Like Lark, the user is really just making choices rather than inputing text.

I will be performing user tests to see how beta users respond to chatting with a Bot. Especially as their experience compares to chatting with a real person, which we are also testing.

Features:

At its core Joice is a rules engine. I built a decision tree with answers that point to next questions. The rules engine programmatically builds the question flow and presents the next question.

As a highlight, the only GET call is to get the first question. The questions are preseeded in the database.

So the system is extremely scalable and editable.

Next features

-I would like to add 8 solutions; one for each path. -I would like to add solutions to the database. (Currently there is one solution hardcoded) -And present various solutions based on answers to the questions. For example 3 solutions that can be seen via a 'more' button. -And a reset button that lets the user start from the beginning. -And make it more responsive.
-And an API connection to a recipe database (Yummly or Edanam) -BUG - mobile alert panel is not responisive -BUG - the solution (Zuchinni) is bolted on to the end of the "#quiz-container" div in a very brute force way. Should be more graceful via .append() method -BUG - auto scrolling with content is added

Of note:

It was super useful to build the first draft of the app in hard coded jQuery. It was a great exercise in jQuery and CSS styling. But it quickly got complex, buggy, and difficult to edit.

Also to anyone starting their project 1 I would recommend keeping the scope as SMALL as possible. The reason is that there are so many technologies and moving parts - Heroku, Node, HTML, Handlebars, CSS, jQuery, Chai, APIs, auth, Javascript, Node, body parser, Mongo, etc. The real purpose of the project is to pull together a full-stack app. If I were to do it again I would want an app with one button that pulls info from an API.

Link to Heroku app:

https://socket-chat2.herokuapp.com/

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.