Giter Site home page Giter Site logo

hype-acme-inc-react-app's Introduction

Hype Acme Inc. React App

๐Ÿš€ Technologies

๐Ÿ’ป About the project

Frontend application simulating an e-commerce app. All the data is generated and stored on client-side.

I'm not using a Design System to demonstrate my capabilities to create reusable components with TypeScript.

Images provided by Lorem Picsum;

๐Ÿ“ฅ Running the project

$ git clone https://github.com/matheuspaolini/hype-acme-inc-react-app.git && cd hype-acme-inc-react-app
# Install dependencies
$ npm install
#or
$ yarn

# Running project in development mode
$ npm run dev
#or
$ yarn dev

# Running project in production mode
$ npm run build && npm run preview
#or
$ yarn build && yarn preview

๐Ÿงฑ Project Structure

  • Domain

    • App entities interfaces, such as product, cart, and checkout.
    • App business rules, contains all the independent logic implementation.
  • Application

    • Contains the Jotai store/atoms that implements the business rules on domain layer.
    • A factory function to generate the mocked produc list.
    • Utils folder with encapsulated functions to make easier to create the product list.
    • Also the 'Acme Inc Http Get Client', a mocked http client to simulate getting the product list from an external API.
  • Data

    • Contains hardcoded data.
  • Presentation

    • Hooks.
    • Components.
    • Feature components (separated sections placed inside each page).
    • Layouts (essential components to create the App layout).
    • Pages.
    • Styles configuration and setup.
    • Utils, such as price formatter, and open in new tab functions.
  • Main

    • App Router -> React Router
    • App file entry point (index.tsx).

hype-acme-inc-react-app's People

Contributors

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