GithubHelp home page GithubHelp logo

infsci2560sp17 / full-stack-web-jingyi-huang Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 17.22 MB

full-stack-web-jingyi-huang created by GitHub Classroom

Shell 8.57% Batchfile 6.08% Java 38.80% HTML 44.40% JavaScript 0.08% CSS 2.06%

full-stack-web-jingyi-huang's Introduction

Easy Yummies

  1. What is the proposed name for your Web application? -Easy Yummies
  2. Who is the target audience for your Web application? -People with limited culinary skills and spare time to cook easy and delicious meals
  3. What problem is it intended to solve for the target audience? -People with limited culinary skills and little spare time often find it is difficult to find recipes that are easy to cook and yummy as well. On one hand, as an editor, I will publish some easy recipes for various categories (e.g. pasta, dessert, salad, etc.) regularly. On the other hand, registered users are invited to publish their own recipes as well. All published recipes are rated, commented by registered users. In addition, “Cooking FAQ Fo-um” is created to be dedicatedly serve as a discussion forum about tips and questions on cooking.
  4. How will it meet the minimum project requirements? -Recipes can be browsed without a login. If a user wants to comment ,rate and pin the recipes, a login is required. Similar operation is applied to the discussion forum as well. All public data will be accessible through RESTful services.
  5. Why is your proposed Web application unique or creative beyond simply meeting the minimum requirements? -I will rank the recipes based on ratings and number of views.

##MOST RECENT CHANGES

  • build a recipe entity and RESTful webservice

Build status

Build Status

Changelog

Changelog

Web Site

Easy Yummies

Key Features

  • User can review recipes details with login
  • User can publish recipes with login
  • User can rate any recipe with login
  • User can update his/her own profile
  • User can review other user details with login
  • A recipe can be retrieved from its ID in JSON format

Project Details

Landing Page

TODO : please provide a description of your landing page inluding a screen shot

Display Page

Review a particular recipe details including its rating history, and rate it

User Input Form

Publish Form : User can publish a recipe with login

Update Form : User can update his/her profile

API

TODO : please provide a description of at least 1 API including a sample of request data and response data in both XML and JSON format.

API Method 1

GET recipes/{id}

Parameters

  • id (required) — The recipe id.

Response

{"id":4,"name":"Creamy Mushroom Pasta","recipeType":"Pasta","calories":"380 kcal","ingredients":["100g pasta","1/2 sliced onion","150g sliced mushroom","ham"],"description":["Put the pasta on to boil","Meanwhile fry sliced onions, mushroom and chopped ham a little","Drain the pasta and add the vegie sauce"],"timeNeed":"15 min","author":1}

Errors

All known errors cause the resource to return HTTP error code header together with a JSON array containing at least 'status' and 'error' keys describing the source of error.

  • 404 Not Found — The photo was not found.

Example

Request
POST /v1/photos/123456/tags
Body
tags=cute,puppy
JSON Response
{
    "photoId": 123456,
    "tags": ["cute", "puppy"]
}
XML Response
<?xml version="1.0" encoding="UTF-8"?>
<PhotoTags>
    <photoId>123456</PhotoId>
        <tags>
            <tag>cute</tag>
            <tag>puppy</tag>
        </tags>
</PhotoTags>


## Technologies Used

TODO : List all technologies used in your project

- [Spring Boot](https://projects.spring.io/spring-boot/) - Takes an opinionated view of building production-ready Spring applications.
- [Thymleaf](http://www.thymeleaf.org/) - Thymeleaf is a modern server-side Java template engine for both web and standalone environments.
- [Maven](https://maven.apache.org/) - Apache Maven is a software project management and comprehension tool.

full-stack-web-jingyi-huang's People

Contributors

briankolowitz avatar jingyi-huang avatar

Watchers

James Cloos avatar

Forkers

jingyi-huang

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.