Giter Club home page Giter Club logo

react-context-boilerplate's Introduction

Project Details

  • webpack 4
  • antd
  • react-icons
  • context

Project Structure

  • app
    • assets
      • images => static images of whole project
      • style => scss for project under this folder |- custome => all SCSS file related to all component |- _base.scss => base scss file / global SCSS file |- _vars.scss => scss variable file
    • components
    • config
      • axios.js => app api call done via axios.js
      • Context.js => Context Management file
      • icons.js => icons for project, used react-icons library for icons
    • components
      • container => route component main folder
      • constants.js => all constant are declared
      • index.html => entry point of whole application
      • index.js => entry point of react application
      • route.js => Defined all routes of project
  • package.json
  • server.js
  • webpack.config.js
  • gitignore

Steps to add new Route

  1. Create React Componet under app/containers folder
  2. import component in route.js file

Steps to add new api call

  1. Create Function in app/config/axios.js and export created function
  2. import function from axios.js file in component

react-context-boilerplate's People

Contributors

vinitmendapara 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.