project
│ ...
│
└── build --> Webpack output
│
└── public
│ │ index.html --> main HTML for web
│ │ ...
│
└── src
│ │ index.tsx --> root file
│ │
│ └── img --> contains all the assets like: images, svg,...
│ │
│ └── components --> use class component
│ │
│ │
│ └── componentTMDT --> use function component
│ │
│ └── configFirabase --> environment config connect to firabase
│ │
│ └── common --> common components
│ │
│ │
│ └── Reducer
│ │ |
│ │ └──index.js --> redux's store root
│ │ | ...
│ └── actions --> define action types
│ │
│ │
│ └── constants --> define constants
│ │
│ └── page --> website screens
│ │
│ │
│ └── ...
│
To deploy this project run
- cd project
- Run
npm install
- Run
npm start