Coder Social home page Coder Social logo

grocery-tracker's Introduction

Grocery Tracker

๐Ÿ“ ๐Ÿ… ๐Ÿž Welcome to Grocery Tracker the app that tracks what you need and when you placed it in your cart. Make managing your grocery list easy with Grocery Tracker. Simply click on one of your popular items, and it will be added to your list. Type other items into the input field and they will be added to your list. Track your progress by clicking on items in the list to "select" them, and apply the strikethrough indicating you have that item in your cart. Completely remove items on your list by clicking the delete button.

Environments

Server Side (Back end)

This is a standalone api, in its own folder server-side that serves up a rest api with the following endpoints:

  • localhost:8080/api/popular-items: Will display all of the popular items in the database, to make adding to your grocery list easier the next time
  • localhost:8080/api/items: Will display all of the items you have added to your grocery list
  • localhost:8080/api/items/add-item: Adds an item to the grocery list
  • localhost:8080/api/items/{id}/select-item: Selects an item on the grocery list
  • localhost:8080/api/items/{id}/delete-item: Deletes an item from the grocery list

Client Side (Front end)

This is a single page JavaScript application built using parcel. The server will run at localhost:1234.

How to run this app

  • clone the application locally onto your machine
  • Using IntelliJ, navigate into server-side and open the Spring project, run the application file.
  • cd into client-side and run npm install to install all frontend dependencies
  • Run the front end with npm start

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.