meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
opendata2015:group4:start [2015/03/05 19:45]
anarabanana
opendata2015:group4:start [2015/03/16 10:25] (current)
m1371
Line 1: Line 1:
-====== TEAM ======+====== Good morning team @ODCC2015 ======
  
  
 {{ :opendata2015:group4:images.jpg?200|}} {{ :opendata2015:group4:images.jpg?200|}}
-|            ^Good morning team +|            ^localEAT production 
-member   | Anar Bazarhanova              | +^ 1  | Anar Bazarhanova              | 
-member   | Khan Mohammad Habibullah      | +^ 2  | Khan Mohammad Habibullah      | 
-member   | Marie Leslie Melanie Pittumbur| +^ 3  | Marie Leslie Melanie Pittumbur| 
-member   | Julien Dhallenne              |+^ 4  | Julien Dhallenne              | 
 + 
 +====== Poster, Presentation & Report ====== 
 + 
 +{{:opendata2015:group4:localeat_-_poster.pdf|}} 
 +{{:opendata2015:group4:presentation.pdf|}} 
 +{{:opendata2015:group4:localeat_report.docx.pdf|}}
  
  
Line 54: Line 60:
 We also worked on a decent logo for our application. The result is the following : We also worked on a decent logo for our application. The result is the following :
  
-{{:opendata2015:group4:font_edited.png?200|}}+{{:opendata2015:group4:font_edited.png?300|}}
  
 Finally for the back-end server side, it was agreed that the MEAN stack would be deployed on the Cloud 9 hosting platform.  Finally for the back-end server side, it was agreed that the MEAN stack would be deployed on the Cloud 9 hosting platform. 
Line 60: Line 66:
  
 ====== Day 2 ====== ====== Day 2 ======
 + The second day is dedicated to create a mongoDB database to hold products and markets collections that will provide the client application with required information. The database is functional but some problems are encountered to link the database to the NodeJs server.  
  
- The second day is dedicated to create a mongoDB database to hold products and markets collections that will provide the client application with required information. The database is functional but some problems are encountered to link the database to the NodeJs server. + On another side, the client application design, using the Ionic tool and based on the AngularJS framework, is on its way and the following screenshots can already be made available (the data is a little random) : 
- +
- On another side, the client application design, using the Ionic tool and based on the AngularJS framework, is on its way and the following screenshots can already be made available (the data is a little random) :+
  
 ^   iPhone 4 view  ^   Nexus 5 view   ^ ^   iPhone 4 view  ^   Nexus 5 view   ^
-|{{:opendata2015:group4:nexus5_view.png?200|}} | {{:opendata2015:group4:iphone4_view.png?200|}}|+|{{ :opendata2015:group4:nexus5_view.png?300 |}} | {{ :opendata2015:group4:iphone4_view.png?300 |}}| 
  
  
Line 100: Line 106:
    
  
 +====== Example of REST Api data sets ======
 +  * GETting response of a particular market:
 +<code>
 +   {  
 +      "_id":"54f8258e9783a587422f1c94",
 +      "name":"Hakaniemen Kauppahalli",
 +      "desc":"Hakaniemen Kauppahallissa on 38 elintarvikeliikettä 1. kerroksessa ja 28 erikoisliikettä 2. kerroksessa. 
 +      Arkkitehti Karl Hård af Segerstadin suunnittelema Hakaniemen Kauppahalli avattiin vuonna 1914.",
 +      "lat":"60.180055",
 +      "lng":"24.950989",
 +      "address":"Hakaniemen Kauppahalli, Hämeentie, Suomi",
 +      "postcode":"00530",
 +      "town":"Helsinki",
 +      "opening_time":"ma-pe 8-18; la 8-16",
 +      "photo":"http://www.hakaniemenkauppahalli.fi/wp-content/uploads/2014/01/halli-400x266.jpg"
 +   },
 +</code>
 + * POSTing a new product:
 +<code>
 + {  
 +      "_id":"54f84be39783a587422f1c9b",
 +      "name":"Zucchinis",
 +      "price":4,
 +      "desc":"Good source of vitamins A and niacin.",
 +      "origin":"Etelä-Savo",
 +      "measureunit":"kg",
 +      "market_id":"54f8258e9783a587422f1c94",
 +      "photo":"http://d33y93cfm0wb4z.cloudfront.net/Jen_Cheung/Catagory%20Pictures/Zucchini.article.jpg"
 +   },
 +</code>
 +  * Querying products list by a market_id attribute:
 +<code>
 +  {  
 +      "_id":"54f84c609783a587422f1c9d",
 +      "name":"Watermelon",
 +      "price":6,
 +      "desc":"Antibacterial and anti-cancer. Contains vitamin A and C, as well as iron and potassium. Their high water content makes them ideal for juicing.",
 +      "origin":"Keski-Pohjanmaa",
 +      "measureunit":"kg",
 +      "market_id":"54f8258e9783a587422f1c94",
 +      "photo":"http://www.fut-science.com/wp-content/uploads/2014/07/watermelon.jpg"
 +   },
 +</code>
 +  *  localEAT Back-end implementation can be accessible via {{:opendata2015:group4:firstproject.tar.gz|}}
 +
 +====== Night 4 ======
 +
 +  * Client application views:
 +{{:opendata2015:group4:screen_shot_2015-03-05_at_23.03.05.png?200|}}
 +{{:opendata2015:group4:screen_shot_2015-03-05_at_23.03.48.png?200|}}
 +{{:opendata2015:group4:screen_shot_2015-03-05_at_23.04.08.png?200|}}
 +{{:opendata2015:group4:screen_shot_2015-03-05_at_23.03.19.png?200|}}
 +{{:opendata2015:group4:screen_shot_2015-03-05_at_23.04.22.png?200|}}