Coder Social home page Coder Social logo

devayansarkar / react-material-redux-auth Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 412 KB

Boiler plate code for starting up React project with @MaterialUI, @Redux and @firebase.

License: MIT License

HTML 5.35% CSS 2.89% TypeScript 91.76%
firebase redux react boiler-plate material-design material-ui material firebase-auth authentication thunk

react-material-redux-auth's Introduction

React Material boiler plate with Redux and Firebase Authentication

Project created with npx create-react-app --template typescript.

Add Firebase api keys and credentials from firebase console to use Firebase auth

Features

  • Authentication with Firebase
  • HttpInterceptors to pass tokens to backend for validation
  • MaterialUI or design components

To use proxy add the following in package.json in root

{
    "proxy": "http://localhost:8080",
}

Folder structure

├── LICENSE
├── README.md
├── package-lock.json
├── package.json
├── public
│   ├── favicon.ico
│   ├── index.html
│   ├── logo192.png
│   ├── logo512.png
│   ├── manifest.json
│   └── robots.txt
├── src
│   ├── App.css
│   ├── App.tsx
│   ├── components
│   │   └── StyledFilledChipButton.tsx
│   ├── config
│   │   ├── authentication
│   │   │   └── Firebase.ts
│   │   ├── http
│   │   │   └── HttpInterceptor.ts
│   │   ├── navigation
│   │   │   └── History.ts
│   │   ├── security
│   │   │   └── ProtectedRoute.tsx
│   │   └── store
│   │       └── Config.ts
│   ├── containers
│   │   ├── HomePageContainer.tsx
│   │   └── LoginPageContainer.tsx
│   ├── index.css
│   ├── index.tsx
│   ├── logo.svg
│   ├── models
│   │   ├── auth
│   │   │   ├── IApplicationState.ts
│   │   │   ├── ILoggedInUser.ts
│   │   │   ├── ILoginRequest.ts
│   │   │   └── IUserState.ts
│   │   ├── props
│   │   │   ├── components
│   │   │   │   └── IStyledFilledChipButtonProps.ts
│   │   │   └── pages
│   │   │       ├── IBasePageProps.ts
│   │   │       ├── IHomePageProps.ts
│   │   │       └── ILoginPageProps.ts
│   │   └── route
│   │       └── ProtectedRouteProps.ts
│   ├── pages
│   │   ├── account
│   │   │   └── Account.tsx
│   │   ├── authentication
│   │   │   └── Login.tsx
│   │   └── home
│   │       └── Home.tsx
│   ├── react-app-env.d.ts
│   ├── serviceWorker.ts
│   ├── setupTests.ts
│   ├── store
│   │   └── auth
│   │       ├── Actions.ts
│   │       ├── AuthState.ts
│   │       ├── Events.ts
│   │       ├── Reducers.ts
│   │       └── Thunk.ts
│   └── utilites
│       └── auth
│           └── FirebaseToAppStateMapper.ts
└── tsconfig.json

react-material-redux-auth's People

Contributors

devayansarkar avatar

Stargazers

 avatar  avatar

Watchers

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