Firebase configured and populated with some very basic pizza-data
Configured SCSS-support and absolute imports
Added authentication using google accounts
Did some very basic querying to fetch pizzas from firebase.
Added some dependencies for firebase and styling
Added basic components and have worked on the "challenge" finally
I encountered a lot of issues with my CI/CD workflow, the massive amounts of commits might show that :)
This turned out to be a git/local de-sync where my components-folder had lower-case locally and uppercase in the repository.
I have not implemented typescript, my reasoning for that is that I have not worked with it enough and that it would make everything go much slower since I am unexperienced with it.
Next update I will set up some kind of state management, probably will use reacts context API.
Been reading up on pros/cons using this vs a dedicated state manager (i.e. Redux) and the cons (mostly performance) won't matter in such a small app. However, if I notice performance drops, I will use memoization to reduce the amount of draw calls.
I will also implement ordering business logic with some pizza-customizations to tweak prices depending on sizes and toppings.
Hopefully, I can get a finished prototype in a couple of days.
Here are today's updates
I encountered a lot of issues with my CI/CD workflow, the massive amounts of commits might show that :) This turned out to be a git/local de-sync where my components-folder had lower-case locally and uppercase in the repository.
I have not implemented typescript, my reasoning for that is that I have not worked with it enough and that it would make everything go much slower since I am unexperienced with it.
Next update I will set up some kind of state management, probably will use reacts context API. Been reading up on pros/cons using this vs a dedicated state manager (i.e. Redux) and the cons (mostly performance) won't matter in such a small app. However, if I notice performance drops, I will use memoization to reduce the amount of draw calls.
I will also implement ordering business logic with some pizza-customizations to tweak prices depending on sizes and toppings. Hopefully, I can get a finished prototype in a couple of days.