Code Monkey home page Code Monkey logo

microfront-react-webpack-4's Introduction

Microfront sample with webpack@4

This is a sample 'monorepo' (also it can be use with multirepo) to demonstrate an microfrontend application using Webpack v4, react, react-app-rewired and material-ui.
Easy to use:

cli:

On root directory use these commands:

  1. npm install to install lerna (the repo manager)
  2. npm run bootstrap this would install dependencies for all packages with the help of leran
  3. npm run build this would build all projects
  4. npm run start this would run project in development mode
  5. npm run publish this would copy files to production folder
  6. npm run start:prod this would run the application that were build at the previous step
  7. npm run clean this would clean repository to a fresh start

if dependencies didn't installed by bootstrap command (because of low node version) then use this:

  1. npm run init this would run npm install on all packages

what to do

  • install dependencies for all projects
  • add rewired configs
  • run the micro frontend project with configs
  • Show the component of the stock!
  • add the page for place order (simple one)
  • add redux middleware`

Requested:

request status description
Build run done run build on "/", run publish on "/", run start on "/output"
Messaging Hook done a simple package to communicate through projects
Auth hook done now the login (in another package) is integrated with the container
Theme Hook idle

microfront-react-webpack-4's People

Contributors

easa avatar

Stargazers

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