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.
Make sure that Node.js, NPM are installed
- Install the dependencies using
npm install
- Put your firebase web API key in .env file (root folder) using
REACT_APP_FIREBASE_API_KEY
- Run
npm start
- 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.