Giter VIP home page Giter VIP logo

tvtuner's Introduction

Tune up your video channels streaming on your device.

Directory structure for app

public

  • It contains static files such as index.html, javascript library files, images, and other asset.

src

  • It contains the source code of the project.

src/assets

  • It contain the assets like images, css & fonts

src/components

  • It contains the reusable atomic & molecular components
  • Each component folder will contain the component, test & documentation file

src/constants

  • It contain the constant file
  • Eg : Regex & other application generic constant

src/helpers

  • It contains the reusable helper functions

src/layouts

  • It contains the layout components
  • layout is the common top wrapper component usually will contain navbar , sidebar and children components

src/pages

  • It contain the page component.
  • Each component can layout component as top wrapper based on the page structure
  • Each component exported as default, since lazy loading works with default export

src/routes

  • It contain the page routes
  • Dynamic configuration is best with working with routes
  • Usually it have an nested array to render the routes

src/schema

  • It contain the schema files using the yup
  • It used with formik for field validation

src/service

  • It contain the dynamic http request function using axios
  • Axios is a promise-based HTTP Client for node.js and the browser
  • Axios can be used for api request cancellation, featured with request and response interceptors.

src/store

  • It contains the redux files like actions, reducers & actionTypes.

store/actions

  • It contains the action files. It used to trigger action to update the redux state

store/reducers

  • It contains the reducers files, each file will have default export of * function and will have various switch cases to update the redux state

store/actionTypes.tsx

  • It contains the actionTypes which will be used to configure reducer & actions.

store/selectors

  • It contains the selectors functions, refer Reselect for more details

store/index.tsx

  • It contain the create store function which returns a store object src/styles
  • It contain the styled components reusable breakpoints file, global styles & theme constant file

src/App.js

  • App Component is the main component in React which acts as a container for all other components

src/config

  • It contain the config files using the env src/index.js
  • It contain method to render the application into real dom

src/test.utils.tsx

  • It contain method to render the jest component file
  • This function required since we need to add top wrapper component of react-router, redux & styled-components. Without adding this wrapper component, test cases will not run.

tvtuner's People

Contributors

rajeshkumr avatar

Watchers

 avatar

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.