Giter Site home page Giter Site logo

betty-distribution-frontend's Introduction

"# betty-distriution-frontend"

This is the repo for the Betty Distribution Frontend

This React app is using Typescript to prevent errors during build time. It's basically just JavaScript with extra features, so you can ignore all the crazy stuff.

Folder Structure

The folder structure is as follows. /components - This will contain the reusable components that the app needs e.g the Navbar /contexts - This will contain all the contexts/global state that our app will need, don't worry I'll handle this /types - This contains the custom types that we will need, it'll basically help to know what you're expecting from the backend, plus it gives auto-complete... /pages - This will contain the different pages of the app, will have a similar structire to the /components folder

As at the time of writing this, I have not created the /pages folder, will do that later

Todos for Now

These are the things we need to do first of all.

  1. Create all the components we need
  2. Initialize Firebase
  3. Create a loading screen
  4. Create an admin page where we can add products to the database

Running the Project

To serve this project loacally run npm run dev not npm start, because this React app was created with Vite, I heard it performs better than create-react-app.

To build the project before deploying run npm run build as always.

If you have any questions, you know what to do. Good luck boys!

And let out commit messages make sense abeg๐Ÿ˜ (Read the article Stephen sent)

betty-distribution-frontend's People

Contributors

fortune710 avatar davidx206 avatar maestrothedev avatar

Stargazers

 avatar

betty-distribution-frontend's Issues

Create Contexts for Data

  • user
  • saved items
  • cart
  • delivery addresses

use realtime updates to make sure data is always in sync
update firestore directly instead of updating context

Create Products Page with Categories

  • Import test data and create products page with categories
  • Create filter functionality to filter products based on category and price
  • Add Saved products Functionality

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.