Giter Site home page Giter Site logo

nicolaspearson / react.antd.fuse Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 1.0 307 KB

Starter project for React built using Typescript, MobX, Ant Design, and FuseBox.

License: GNU General Public License v3.0

TypeScript 68.50% HTML 1.08% CSS 30.03% Dockerfile 0.40%
mobx fusebox typescript ant-design react docker reactjs recaptcha theme less

react.antd.fuse's Introduction

React Starter

Starter project for React built using Typescript, MobX, Ant Design, and FuseBox.

This project uses a custom MobX router implemented from this great example hacker-routing-mobx-router5

Running the project

  1. npm install
  2. npm build to compile the source code into the build dir, i.e. to create a production build.
  3. npm start to run the application in dev mode.
  4. npm run prettier to prettify the code.

Docker

This project includes a multi-stage Dockerfile, to build an image you can execute: docker build . --tag react-kraken-client:1.0

Captcha

Captcha codes have been integrated using Reaptcha. Register for v2 reCaptcha codes here, then change the site keys in the .env files accordingly.

REACT_APP_RECAPTCHA_SITE_KEY=<YOUR-SITE-KEY>
REACT_APP_RECAPTCHA_INVISIBLE_SITE_KEY=<YOUR-INVISIBLE-SITE-KEY>

Themes and generated output

This project uses a Git Kraken theme, feel free to swop it out with your flavour!

The styles are applied at build time, any changes that are made to your theme will automatically be applied during development via HMR (Hot Module Reloading). Additionally a JSON file containing the palette is generated from the less file -> src/utils/raw/palette.json, the JSON file is used to read any less variables from our typescript classes, see src/utils/PaletteUtils.

API

If you need an API for this frontend, it has been integrated with this project: node.api.gateway

Directory structure

The src directory layout can be seen below:

src
├── assets
│   └── images
│       ├── png
│       └── theme
├── components
│   ├── boundary
│   │   ├── DashboardErrorBoundary
│   │   └── ErrorBoundary
│   ├── functional
│   │   ├── HtmlHead
│   │   └── RouterLink
│   ├── icon
│   │   ├── AntDesign
│   │   ├── Hamburger
│   │   ├── Logo
│   │   ├── Plus
│   │   └── ReactOfficial
│   ├── structural
│   │   ├── DashboardPage
│   │   ├── Footer
│   │   ├── Head
│   │   ├── Header
│   │   ├── Loader
│   │   ├── Nav
│   │   ├── Page
│   │   └── SiteNav
│   └── ui
│       ├── ContactUsForm
│       ├── EarlyAccessButton
│       ├── NumberCard
│       ├── Palette
│       ├── Recaptcha
│       └── RoundButton
├── containers
│   ├── App
│   └── DashboardLayout
├── enums
├── logger
├── models
├── pages
│   ├── Dashboard
│   │   ├── Calendar
│   │   ├── Overview
│   │   └── Theme
│   ├── Landing
│   ├── Login
│   └── SignUp
├── router
├── store
│   └── api
├── theme
│   └── styles
│       ├── ant
│       └── kraken
├── types
└── utils
    └── raw -- Generated

Dependencies used:

The dependency list below is not exhaustive, it is simply used to highlight the major dependencies of this web app.

Runtime

Build time

Contribution guidelines

  • Code reviews are done via pull requests

react.antd.fuse's People

Contributors

nicolaspearson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cloud-accent

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.