This project was inspired by the www.lth.mx platform, and it purpose is to demostrate how easly is to work with the following techs:
- Clone repository
git clone https://github.com/delciopolanco/product-firebase-crud.git
- Install dependencies
npm install
- Create .env file
- Configure firebase account and use fireStoreDatabase + Storage.
- Configure this structure in your firebase collections:
[
{
"models": [
{ "motors": ["2.8 LT", "2.4 LT"], "name": "civic" },
{ "motors": ["1.8 LT", "1.4 LT"], "name": "city" }
],
"name": "Honda",
"years": [1990, 1991, 2022]
}
]
{
"catetories": ["Baterias", "Aditivos", "Filtros de aceites"]
}
[
{
"category": "Aditivos",
"code": "ASDD-98777",
"description": "My product",
"name": "OIL 234",
"reference": "OIL-111222334",
"spects": [{"name": "Volumen", "value": "15 Degrees"}]
"pictures": ["https://firebasestorage.googleapis.com/v0/b/products-searcher.appspot.com/o/images%2FIMG_812A23D9281F-1.jpeg?alt=media&token=3279209d-e3d9-4b17-b111-26049d3c810d"],
}
]
{
"years": [1990, 1991, 2002]
}
Ready to use it!
- Adding a clear documentation.
- Adding storybook in each component.
- Remove console logs.
- Adding functional programming styles.
- Use internationalization.
- Adding responsive css.
- more.... :)