Skip to content

Latest commit

ย 

History

77 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

E-food Analytics

Have you ever wondered how much you have spent on E-food? Well, this project is for you.

Built with Node.js and Express.js to serve the data from an endpoint of REST API. For the frontend part, built with React.js , Mantine and Tailwind to build a minimal design by me. Includes dynamic Chart and interactive map filled with the stores you have bought from.

View Demo ยท Report Bug ยท Request Feature

About The Project

Efood analytics

Features

  • First Order
  • Latest Order
  • Total Orders
  • Total Spendings
  • Unique stores
  • Number of tips
  • Most frequent store
  • Most frequent product
  • Payement types ( Credit Card, Cash, PayPal, Google Pay, Apple Pay)
  • Chart with statistics for orders per year alongside spendings per year
  • Map with all the stores you bought from, with number of orders and total spending on each store

(back to top)

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • npm
    npm install npm@latest -g

Installation

  1. Clone the repo
    git clone https://github.com/eliac7/efood-analytics.git
  2. Install NPM packages for the outer folder, frontend and backend
    npm install
  3. Open a terminal on the folder and enter: npm run dev

Download your raw order history

The dashboard endpoint (GET /api/orders) returns only calculated statistics. To save the raw e-food orders as JSON locally, first obtain a valid e-food session ID, then run this from the repository root:

$env:EFOOD_SESSION_ID = "your-session-id"
npm run download:orders --prefix backend

The command writes a timestamped JSON file to backend/data/. That directory is ignored by Git, so your order history will not be committed. To choose a filename, use:

npm run download:orders --prefix backend -- --out data/my-orders.json

Avoid sharing your session ID or the exported JSON, since both may contain personal information.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Ilias Thalassochoritis - @ilias_thal - elias_thal(at)hotmail.com

Project Link: https://github.com/eliac7/efood-analytics

(back to top)

About

An unofficial tool to check your analytics of your efood.gr account. ๐Ÿ”

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages