Skip to content

Eifo-Zol-Hasadna/EfoZol

 
 

Repository files navigation

EfoZol

Gitter

EfoZol - Open Market - Making Retailer Prices Open

Open Grocery will make retailers produce prices accessible and available to the public. The project’s first goal is to create a tool that allows each user to compare the cost of their personal shopping bag with all big retailers, including the ability to filter based on geo-location. This way, we can all easily know where to do our shopping.

As a second goal, and after collecting the data over time, we wish to publish some analysis of the Israeli market. For instance, we believe we could supply information on topics such as increase or decrease in the price of produce for the manufacturer, identifying food cartels and price fixing, analyzing the food cost with accordance with living area, predicting price changes for certain holidays (Passover, Shavuot, Independence Day etc.) and agricultural events.

Web Server instalation

sudo dnf install postgresql -y
sudo dnf install postgresql-server -y

  • Install PostgreSql
  • Restore DB (found in backend/sql)
  • Run
cd frontend 
bower install
cd backend
npm install
node index.js

login to API (/api/external/login) or register if needed (/api/external/register) both end point get the following json { "UserName":"xxxxxx", "Password":"yyyyy" } (to register you will need to add the header "access-token" and the value "zolAdmin112200")

both endpoint will return a json object that has a jwt token. add this token to all the following reusts using the "access-token" header

The code is now running the server at http://localhost:5000 Frontend stuff is at ./frontend

Technology Stack

  1. AngularJS (1.4)
  2. NodeJS
  3. ExpressJS
  4. PostgreSql

Main API

  1. Pull API
  2. add store (auth)
  3. add branch
  4. add product
  5. add price (product/branch/time)
  6. update store
  7. update product
  8. update branch
  9. Get API
  10. get products (by name)
  11. get branches (by location)
  12. get prices (branches * products, ordered by price)

Teams

  1. Client
  2. Web (Javascript, Angular) 1. Boaz 2. Nirit 3. Michael B
  3. Android 1. Nitzan
  4. iOS
  5. Web Server
  6. API (NodeJs) 1. Daniel C 2. Michael B 3. Nirit
  7. db (PostgreSql) 1. Xenia
  8. DevOps
  9. Docker 2. Boaz
  10. Cloud
  11. Testing
  12. Parsers
  13. Big Data
  14. UI/UX
  15. Rotem A.
  16. Documentation
  17. Readme.MD 1. Elad K

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.0%
  • JavaScript 39.8%
  • HTML 12.7%
  • Other 0.5%