/tcl-19-smart-shopping-list

The app learns your buying habits and helps you remember what you will likely need to buy on your next trip to the store.

Primary LanguageJavaScript

Overview

What is this project?

This is a smart shopping app which was developed by a group of four developers under the collab lab mentorship program. The app learns your buying habits and helps you remember what you will likely need to buy on your next trip to the store.

How does it work?

As a user, you will need to create a new shopping list or join an existing list. You can then add items to your list. Each time you buy the item, you mark it as purchased in the list. Over time, the app comes to understand the intervals at which you buy different items. If an item is likely to be bought soon, it rises to the top of the shopping list.

Video demo of the app:

Live project

The live project can be viewed here.

Dependencies Used

Setting up the project locally

To set up the project locally, follow the steps below.

  1. Clone the project to your local machine using the command git clone https://github.com/the-collab-lab/tcl-19-smart-shopping-list.git. This requires you to have git installed on your machine. If you don't have git, you can download it from here. It is a very powerful and popular version control system(VCS). If you are familiar with another VCS, you can check out the git documentation. If you are a total beginner to git and VCS, this awesome course by atlassian will set you off.

  2. Build the app locally.

    To run the app locally, you need to:

    • have node and npm installed on your machine. If you don't have node installed on your machine, follow the instructions here to install it. If you are not sure whether you have it installed, run node --version on your terminal. If you see the version of node like v15.0.1 then node has already been installed. When you download Node.js, you automatically get npm installed as well.
    • create a firebase project
    • create .env file and then copy and paste the contents of example.env in it. The corresponding value of each environment variable in the .env file should correspond with the configuration key for the firebase project you created.
    • run npm update to install and update the project dependencies
    • run npm start to start a live version of the app on local host. The app will be on localhost:3000.

Contributors

Developers

Mentors

Founders of The Collab Lab