Skip to content

See how easy is to implement crud functionality with firebase, reactjs, tailwindcss. Enjoy!

Notifications You must be signed in to change notification settings

delciopolanco/react-firebase-crud

Repository files navigation

Product Firebase Crud

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:

Setup

  1. Clone repository git clone https://github.com/delciopolanco/product-firebase-crud.git
  2. Install dependencies npm install
  3. Create .env file
  4. Configure firebase account and use fireStoreDatabase + Storage.
  5. Configure this structure in your firebase collections:

Brands

[
  {
    "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]
  }
]

Categories

{
  "catetories": ["Baterias", "Aditivos", "Filtros de aceites"]
}

Products

[
  {
    "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

{
  "years": [1990, 1991, 2002]
}

Project Alive!

Ready to use it!

Filters

Filters

TODO

  1. Adding a clear documentation.
  2. Adding storybook in each component.
  3. Remove console logs.
  4. Adding functional programming styles.
  5. Use internationalization.
  6. Adding responsive css.
  7. more.... :)

About

See how easy is to implement crud functionality with firebase, reactjs, tailwindcss. Enjoy!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published