Skip to content

Latest commit

 

History

History
72 lines (68 loc) · 1.57 KB

README.md

File metadata and controls

72 lines (68 loc) · 1.57 KB

Shopler

Shopping has never been so easy. Your companion throughout the day. Forgetting is yesterday.

General

This Project was created as part of Web Engineering 1. With Shopler you have quick access to your missing items - whether food, car parts, ...

  1. create new items
  2. add items to your list
  3. check off articles

Installation

Required Software:

  • nodejs
  • npm
  • docker & docker-compose
  1. Get Repository
    $ git clone
  2. Install dependencies
    • frontend
      $ cd frontend
      $ npm ci
    • server
      $ cd server
      $ npm ci
  3. Start Services
    • mariadb
      $ docker-compose up
      (wait till database available)
    • backend (on first run)
      • create JSON file with categories array. E.g.:
          {
            "categories": [
              "food", 
              "beverages",
              "hygiene"
            ]
          }
      • run init script
        $ cd server
        $ npm run init -- path/to/categories.json
    • backend
      $ cd server
      $ npm start
    • frontend
      $ cd frontend
      $ npm start

Contributors