Coder Social home page Coder Social logo

bank-easy-portal's Introduction

File Structure

/assets - This directory contains static assets (fonts, images, icons etc).

/components - This directory contains independent React components that could be reused throughout the website, which are grouped into atoms and organisms.

/contexts - This directory contains all React context files.

/hooks - This directory contains reuseable hooks.

/assets - This directory contains all the pages in this project.

/redux - This directory contains Redux and all associated Redux setup files.

/utils - This directory contains Javascript utility functions and helper functions.

/stitches - This directory contains all Stitches configurations and setup for creating styled components.

User Interface Design System

This Project is built with the design concept of Atomic Design. Atomic design is methodology for creating design systems. Atomic units bond together to form molecules, which in turn combine into more complex organisms to ultimately create all matter in our universe.

Similarly, interfaces are made up of smaller components. This means we can break entire interfaces down into fundamental building blocks and work up from there. That’s the basic gist of atomic design. For more details, check out the this Atomic Design article.

There are four distinct levels in atomic design:

  1. Atoms
  2. Molecules
  3. Organisms
  4. Pages

Atoms: Atoms are the basic building blocks of matter. In relation to web interfaces, atoms are elements such as a form label, checkbox, an input, button, icons, avatar and all that stuff. Atoms are the smallest units of interface design.

Molecules: Molecules are groups of atoms bonded together and are the smallest fundamental units of a compound. These molecules take on their own properties and serve as the backbone of our design systems. For example, a form label, input or button aren’t too useful on their own, but combine them together as a form and now they can actually do something together. For example, a search bar, a navigation bar and also footer.

Organisms: Organisms can consist of similar and/or different molecule types. For example, a organism might consist of diverse components like a side bar, modal, product grid, tables.

Pages: Pages are the highest level of interface design. They combine all the elements of an atomic design, which in turn gives us the ability to create pages.

Components Examples
Atoms Buttons, Avatars, Icons, Inputs, Labels, Cards, Lists, Tables, etc.
Molecules Forms, Modals, Sidebars, Cards, Tables, Navbar etc.
Organisms Product Grid, Tables, etc.

Remember, the goal is to create a simple, yet powerful, interface design system but each element and what they represent in relation to atomic desig are subject to interpretation, but the basic rules of the structure should be followed to make it easy to create.

Commands

Start application

npm start

Run all components in storybook

npm run storybook

Run all tests:


npm run test


# **Deployment**

# **Storybook**

This project utilizes [Storybook](https://storybook.js.org/), UI development tool, which provides a sandbox to design, build and organize UI components in isolation without getting tripped up over business logic. The rendered state of a UI component is captured by a Story. Developers write multiple stories per component that describe all the “interesting” states a component can support. Read more about stories [here](https://storybook.js.org/docs/react/get-started/whats-a-story).


bank-easy-portal's People

Contributors

michaelgee avatar s-timolor 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.