Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1019 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 1019 Bytes

Burger Builder

Single page application where authenticated users can build and order their own burgers. Application is built using React, Redux, Firebase and upgraded to react hooks. Working on this learning project guided by Maximilian Schwarzmüller in addition to the features mentioned, covered also responsivness, routing, testing, custom hooks, HOC, generators (redux-saga) etc.

How to run

Make sure that Node.js, NPM are installed

  1. Install the dependencies using npm install
  2. Put your firebase web API key in .env file (root folder) using REACT_APP_FIREBASE_API_KEY
  3. Run npm start
  4. Configure firebase to use proper authentication. Default configuration implies 'Email/password' sign-in method and database rules set to:
{
  "rules": {
    "ingredients": {
        ".read": "true",
          ".write": "true"
      },
      "orders": {
        ".read": "auth != null",
          ".write": "auth != null",
            ".indexOn": ["userId"]
      }
  }
}

Feel free to play around.